Add support for zone capacity to zonefs. For devices which expose a zone capacity that is different to the zone's size, the maximum zonefs file size will be set to the zone's (usable) capacity, not the zone size. Changes to v1: - Fix zone size calculation for aggregated conventional zones Johannes Thumshirn (2): zonefs: add zone-capacity support zonefs: update documentation to reflect zone size vs capacity Documentation/filesystems/zonefs.rst | 22 ++++++++++++---------- fs/zonefs/super.c | 11 +++++++---- fs/zonefs/zonefs.h | 3 +++ 3 files changed, 22 insertions(+), 14 deletions(-) -- 2.26.2