mbox series

[v2,0/2] zonefs: add support zone capacity support

Message ID 20200720085208.27347-1-johannes.thumshirn@wdc.com (mailing list archive)
Headers show
Series zonefs: add support zone capacity support | expand

Message

Johannes Thumshirn July 20, 2020, 8:52 a.m. UTC
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(-)