linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] zonefs: introduce helper for zone management
@ 2020-09-10 14:37 Johannes Thumshirn
  2020-09-10 14:37 ` [PATCH v4 1/4] " Johannes Thumshirn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Johannes Thumshirn @ 2020-09-10 14:37 UTC (permalink / raw)
  To: Damien Le Moal; +Cc: linux-fsdevel, Johannes Thumshirn

Introduce a mount option for explicitly opening a device's zones when opening
the seq zone file for writing. This way we prevent resource exhaustion on
devices that export a maximum open zones limit. 

Changes to v3:
- Introduce unlocked zonefs_io_error
- Rework failure of zone close on file close

Changes to v2:
- Clear ZONEFS_ZONE_OPEN flag on error
- Fix missing newline

Johannes Thumshirn (4):
  zonefs: introduce helper for zone management
  zonefs: provide zonefs_io_error variant that can be called with
    i_truncate_mutex held
  zonefs: open/close zone on file open/close
  zonefs: document the explicit-open mount option

 Documentation/filesystems/zonefs.rst |  15 ++
 fs/zonefs/super.c                    | 239 ++++++++++++++++++++++++---
 fs/zonefs/zonefs.h                   |  10 ++
 3 files changed, 244 insertions(+), 20 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-11  7:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 14:37 [PATCH v4 0/4] zonefs: introduce helper for zone management Johannes Thumshirn
2020-09-10 14:37 ` [PATCH v4 1/4] " Johannes Thumshirn
2020-09-10 14:37 ` [PATCH v4 2/4] zonefs: provide zonefs_io_error variant that can be called with i_truncate_mutex held Johannes Thumshirn
2020-09-11  5:05   ` Damien Le Moal
2020-09-11  7:52     ` Johannes Thumshirn
2020-09-10 14:37 ` [PATCH v4 3/4] zonefs: open/close zone on file open/close Johannes Thumshirn
2020-09-11  5:11   ` Damien Le Moal
2020-09-11  7:39     ` Johannes Thumshirn
2020-09-10 14:37 ` [PATCH v4 4/4] zonefs: document the explicit-open mount option Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).