summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2020-07-21 21:10:26 +0900
committerDamien Le Moal <damien.lemoal@wdc.com>2020-08-11 17:42:24 +0900
commite3c3155bc95ab6a7b21ac40418bf80bedb204949 (patch)
tree6ff49ead35604c82a93c6f70210d3990f357da5d /init
parent00e4db51259a5f936fec1424b884f029479d3981 (diff)
downloadlinux-e3c3155bc95ab6a7b21ac40418bf80bedb204949.tar.bz2
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 'init')
0 files changed, 0 insertions, 0 deletions