diff options
author | Matias Bjørling <matias.bjorling@wdc.com> | 2020-06-29 12:06:37 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-08 16:16:19 +0200 |
commit | 82394db7383d33641f3f565bd79792fb41b1741f (patch) | |
tree | a7cd00ad8a1ed5588578ac4c6894fe2c582c5327 /sound | |
parent | f5af577d553103115579b5e404070dfab4d00332 (diff) |
block: add capacity field to zone descriptors
In the zoned storage model, the sectors within a zone are typically all
writeable. With the introduction of the Zoned Namespace (ZNS) Command
Set in the NVM Express organization, the model was extended to have a
specific writeable capacity.
Extend the zone descriptor data structure with a zone capacity field to
indicate to the user how many sectors in a zone are writeable.
Introduce backward compatibility in the zone report ioctl by extending
the zone report header data structure with a flags field to indicate if
the capacity field is available.
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Javier González <javier.gonz@samsung.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions