From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
To: Damien Le Moal <Damien.LeMoal@wdc.com>
Cc: linux-fsdevel@vger.kernel.org,
Johannes Thumshirn <johannes.thumshirn@wdc.com>
Subject: [PATCH v3 0/3] zonefs: introduce -o explicit-open mount option
Date: Thu, 10 Sep 2020 16:59:54 +0900 [thread overview]
Message-ID: <20200910075957.7307-1-johannes.thumshirn@wdc.com> (raw)
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 v2:
- Clear ZONEFS_ZONE_OPEN flag on error
- Fix missing newline
Johannes Thumshirn (3):
zonefs: introduce helper for zone management
zonefs: open/close zone on file open/close
zonefs: document the explicit-open mount option
Documentation/filesystems/zonefs.rst | 15 ++
fs/zonefs/super.c | 198 +++++++++++++++++++++++++--
fs/zonefs/zonefs.h | 10 ++
3 files changed, 213 insertions(+), 10 deletions(-)
--
2.26.2
next reply other threads:[~2020-09-10 8:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 7:59 Johannes Thumshirn [this message]
2020-09-10 7:59 ` [PATCH v3 1/3] zonefs: introduce helper for zone management Johannes Thumshirn
2020-09-10 8:21 ` Damien Le Moal
2020-09-10 7:59 ` [PATCH v3 2/3] zonefs: open/close zone on file open/close Johannes Thumshirn
2020-09-10 8:31 ` Damien Le Moal
2020-09-10 7:59 ` [PATCH v3 3/3] zonefs: document the explicit-open mount option Johannes Thumshirn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200910075957.7307-1-johannes.thumshirn@wdc.com \
--to=johannes.thumshirn@wdc.com \
--cc=Damien.LeMoal@wdc.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).