diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-07-21 15:10:26 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@wdc.com> | 2020-08-11 11:42:24 +0300 |
commit | e3c3155bc95ab6a7b21ac40418bf80bedb204949 (patch) | |
tree | 6ff49ead35604c82a93c6f70210d3990f357da5d /Documentation/filesystems | |
parent | 00e4db51259a5f936fec1424b884f029479d3981 (diff) | |
download | linux-e3c3155bc95ab6a7b21ac40418bf80bedb204949.tar.xz |
zonefs: add zone-capacity support
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.
This zone capacity can be less than the overall zone size for a NVMe ZNS
device or null_blk in zoned-mode. For other ZBC/ZAC devices the zone
capacity is always equal to the zone size.
Use the zone capacity field instead from blk_zone for determining the
maximum inode size and inode blocks in zonefs.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions