From: Damien Le Moal <dlemoal@kernel.org>
To: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Cc: Christoph Hellwig <hch@lst.de>
Subject: [PATCH 0/2] Introduce bdev_zone_is_seq()
Date: Thu, 7 Nov 2024 08:13:21 +0900 [thread overview]
Message-ID: <20241106231323.8008-1-dlemoal@kernel.org> (raw)
Allow file systems to safely access a block device gendisk bitmap of
conventional zones to determine a zone type by:
1) Patch 1 - changing the gendisk conv_zones_bitmap to be RCU protected
2) Patch 2 - Introducing the helper function bdev_zone_is_seq()
This is in preparation for use in btrfs to remove the btrfs-managed
bitmap of conventional zones and in zoned support for xfs.
Damien Le Moal (2):
block: RCU protect disk->conv_zones_bitmap
block: Add a public bdev_zone_is_seq() helper
block/blk-zoned.c | 43 ++++++++++++++++++++++++------------------
include/linux/blkdev.h | 28 ++++++++++++++++++++++++++-
2 files changed, 52 insertions(+), 19 deletions(-)
--
2.47.0
next reply other threads:[~2024-11-06 23:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 23:13 Damien Le Moal [this message]
2024-11-06 23:13 ` [PATCH 1/2] block: RCU protect disk->conv_zones_bitmap Damien Le Moal
2024-11-06 23:20 ` Bart Van Assche
2024-11-06 23:44 ` Damien Le Moal
2024-11-07 0:02 ` Jens Axboe
2024-11-07 0:14 ` Damien Le Moal
2024-11-07 5:40 ` Christoph Hellwig
2024-11-07 5:44 ` Damien Le Moal
2024-11-06 23:13 ` [PATCH 2/2] block: Add a public bdev_zone_is_seq() helper Damien Le Moal
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=20241106231323.8008-1-dlemoal@kernel.org \
--to=dlemoal@kernel.org \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.