mbox series

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

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

Message

Johannes Thumshirn July 21, 2020, 12:10 p.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 v3:
- Fix error handling of aggr_cnv case

Changes to v2:
- Update aggr_cnv case
- Fixup changelog

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                    | 16 ++++++++++++----
 fs/zonefs/zonefs.h                   |  3 +++
 3 files changed, 27 insertions(+), 14 deletions(-)

Comments

Damien Le Moal July 22, 2020, 8:07 a.m. UTC | #1
On 2020/07/21 21:10, Johannes Thumshirn wrote:
> 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 v3:
> - Fix error handling of aggr_cnv case
> 
> Changes to v2:
> - Update aggr_cnv case
> - Fixup changelog
> 
> 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                    | 16 ++++++++++++----
>  fs/zonefs/zonefs.h                   |  3 +++
>  3 files changed, 27 insertions(+), 14 deletions(-)
> 

Applied to for-5.9. Thanks !