From: Bart Van Assche <bvanassche@acm.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org,
Christoph Hellwig <hch@infradead.org>,
Damien Le Moal <dlemoal@kernel.org>,
Nilay Shroff <nilay@linux.ibm.com>,
Marco Elver <elver@google.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH v2 00/12] Enable lock context analysis in drivers/block/
Date: Thu, 30 Jul 2026 12:58:23 -0700 [thread overview]
Message-ID: <cover.1785440858.git.bvanassche@acm.org> (raw)
Hi Jens,
This patch series enables lock context analysis in all block drivers in the
drivers/block/ directory except DRBD. Please consider these patches for the
next merge window.
Thank you,
Bart.
Changes compared to v1:
- Moved the DRBD changes into a separate patch series.
- Combined two patches for the loop driver into a single patch.
- Also for the loop driver, added a __must_hold() annotation to
__loop_change_fd() and __loop_configure(). Added a __guarded_by()
annotation to loop_index_idr.
- Added a __guarded_by() annotation to nbd_index_idr.
- Introduced the null_zone locking "class" in the null_blk driver.
- Fixed the rbd patch description.
- Added a __cond_acquires() annotation to a new function in the ublk driver.
Bart Van Assche (12):
aoe: Enable lock context analysis
loop: Remove the "bool global" function argument
loop: Add lock context annotations
mtip32: Enable lock context analysis
nbd: Enable lock context analysis
null_blk: Enable lock context analysis
rbd: Enable lock context analysis
ublk: Enable lock context analysis
xen-blkback: Enable lock context analysis
zram: Enable lock context analysis
rnbd: Enable lock context analysis
block: Enable lock context analysis for all block drivers
drivers/block/Makefile | 2 +
drivers/block/aoe/Makefile | 2 +
drivers/block/aoe/aoecmd.c | 1 +
drivers/block/loop.c | 256 ++++++++++++++++-------------
drivers/block/mtip32xx/Makefile | 2 +
drivers/block/nbd.c | 11 +-
drivers/block/null_blk/Makefile | 2 +
drivers/block/null_blk/main.c | 4 +
drivers/block/null_blk/zoned.c | 120 ++++++--------
drivers/block/rbd.c | 8 +
drivers/block/rnbd/Makefile | 2 +
drivers/block/ublk_drv.c | 7 +
drivers/block/xen-blkback/Makefile | 3 +
drivers/block/zram/Makefile | 2 +
drivers/block/zram/zcomp.c | 3 +-
drivers/block/zram/zcomp.h | 6 +-
16 files changed, 245 insertions(+), 186 deletions(-)
next reply other threads:[~2026-07-30 19:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 19:58 Bart Van Assche [this message]
2026-07-30 19:58 ` [PATCH v2 01/12] aoe: Enable lock context analysis Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 02/12] loop: Remove the "bool global" function argument Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 03/12] loop: Add lock context annotations Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 04/12] mtip32: Enable lock context analysis Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 05/12] nbd: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 06/12] null_blk: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 07/12] rbd: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 08/12] ublk: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 09/12] xen-blkback: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 10/12] zram: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 11/12] rnbd: " Bart Van Assche
2026-07-30 19:58 ` [PATCH v2 12/12] block: Enable lock context analysis for all block drivers Bart Van Assche
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=cover.1785440858.git.bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=dlemoal@kernel.org \
--cc=elver@google.com \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=nilay@linux.ibm.com \
/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