From: Bart Van Assche <bvanassche@acm.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>,
Damien Le Moal <dlemoal@kernel.org>,
Marco Elver <elver@google.com>,
linux-block@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 00/14] Enable lock context analysis
Date: Wed, 4 Mar 2026 11:48:19 -0800 [thread overview]
Message-ID: <20260304194843.760669-1-bvanassche@acm.org> (raw)
Hi Jens,
During the most recent merge window the following patch series has been merged:
[PATCH v5 00/36] Compiler-Based Context- and Locking-Analysis
(https://lore.kernel.org/lkml/20251219154418.3592607-1-elver@google.com/). That
patch series drops support for verifying lock context annotations with sparse
and introduced support for verifying lock context annotations with Clang. The
support in Clang for lock context annotation and verification is better than
that in sparse. Hence this patch series that enables lock context analysis for
the block layer core and all block drivers.
The first patch in this series fixes a bug discovered in DRBD while enabling
lock context analysis.
Please consider this patch series for the upstream kernel.
Thanks,
Bart.
Bart Van Assche (14):
drbd: Balance RCU calls in drbd_adm_dump_devices()
blk-ioc: Prepare for enabling thread-safety analysis
block: Make the lock context annotations compatible with Clang
aoe: Add a lock context annotation
drbd: Make the lock context annotations compatible with Clang
loop: Add lock context annotations
nbd: Add lock context annotations
null_blk: Add more lock context annotations
rbd: Add lock context annotations
rnbd: Add more lock context annotations
ublk: Fix the lock context annotations
zloop: Add a lock context annotations
zram: Add lock context annotations
block: Enable lock context analysis for all block drivers
block/Makefile | 2 ++
block/bdev.c | 7 +++--
block/blk-cgroup.c | 7 +++--
block/blk-crypto-profile.c | 2 ++
block/blk-ioc.c | 2 +-
block/blk-iocost.c | 2 ++
block/blk-mq-debugfs.c | 12 ++++----
block/blk-zoned.c | 1 +
block/blk.h | 4 +++
block/ioctl.c | 1 +
block/kyber-iosched.c | 4 +--
block/mq-deadline.c | 8 +++---
drivers/block/Makefile | 2 ++
drivers/block/aoe/Makefile | 2 ++
drivers/block/aoe/aoecmd.c | 1 +
drivers/block/drbd/Makefile | 3 ++
drivers/block/drbd/drbd_bitmap.c | 20 +++++++------
drivers/block/drbd/drbd_int.h | 46 ++++++++++++++----------------
drivers/block/drbd/drbd_main.c | 45 ++++++++++++++++++++++-------
drivers/block/drbd/drbd_nl.c | 13 ++++++---
drivers/block/drbd/drbd_receiver.c | 20 +++++++------
drivers/block/drbd/drbd_req.c | 2 ++
drivers/block/drbd/drbd_state.c | 3 ++
drivers/block/drbd/drbd_worker.c | 6 ++--
drivers/block/loop.c | 4 +++
drivers/block/mtip32xx/Makefile | 2 ++
drivers/block/nbd.c | 3 ++
drivers/block/null_blk/Makefile | 2 ++
drivers/block/null_blk/main.c | 7 +++--
drivers/block/null_blk/zoned.c | 2 ++
drivers/block/rbd.c | 7 +++++
drivers/block/rnbd/Makefile | 2 ++
drivers/block/rnbd/rnbd-clt.c | 2 ++
drivers/block/ublk_drv.c | 6 +++-
drivers/block/xen-blkback/Makefile | 3 ++
drivers/block/zloop.c | 1 +
drivers/block/zram/Makefile | 2 ++
drivers/block/zram/zcomp.c | 3 +-
drivers/block/zram/zcomp.h | 6 ++--
drivers/block/zram/zram_drv.c | 1 +
include/linux/backing-dev.h | 2 ++
include/linux/blkdev.h | 11 +++++--
include/linux/bpf.h | 1 +
43 files changed, 197 insertions(+), 85 deletions(-)
next reply other threads:[~2026-03-04 19:49 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 19:48 Bart Van Assche [this message]
2026-03-04 19:48 ` [PATCH 01/14] drbd: Balance RCU calls in drbd_adm_dump_devices() Bart Van Assche
2026-03-04 20:25 ` Damien Le Moal
2026-03-04 20:59 ` Bart Van Assche
2026-03-04 19:48 ` [PATCH 02/14] blk-ioc: Prepare for enabling thread-safety analysis Bart Van Assche
2026-03-05 10:10 ` Jan Kara
2026-03-05 12:46 ` Bart Van Assche
2026-03-05 13:18 ` Marco Elver
2026-03-05 14:35 ` Bart Van Assche
2026-03-05 20:30 ` Marco Elver
2026-03-04 19:48 ` [PATCH 03/14] block: Make the lock context annotations compatible with Clang Bart Van Assche
2026-03-04 20:03 ` Tejun Heo
2026-03-04 20:29 ` Bart Van Assche
2026-03-04 20:58 ` Tejun Heo
2026-03-04 21:34 ` Bart Van Assche
2026-03-04 21:45 ` Tejun Heo
2026-03-04 21:46 ` Tejun Heo
2026-03-04 19:48 ` [PATCH 04/14] aoe: Add a lock context annotation Bart Van Assche
2026-03-04 19:48 ` [PATCH 05/14] drbd: Make the lock context annotations compatible with Clang Bart Van Assche
2026-03-09 10:08 ` Christoph Böhmwalder
2026-03-09 23:15 ` Bart Van Assche
2026-03-11 20:42 ` Christoph Böhmwalder
2026-03-04 19:48 ` [PATCH 06/14] loop: Add lock context annotations Bart Van Assche
2026-03-04 19:48 ` [PATCH 07/14] nbd: " Bart Van Assche
2026-03-04 19:48 ` [PATCH 08/14] null_blk: Add more " Bart Van Assche
2026-03-04 19:48 ` [PATCH 09/14] rbd: Add " Bart Van Assche
2026-03-04 19:48 ` [PATCH 10/14] rnbd: Add more " Bart Van Assche
2026-03-06 13:09 ` Marco Elver
2026-03-06 14:11 ` Bart Van Assche
2026-03-04 19:48 ` [PATCH 11/14] ublk: Fix the " Bart Van Assche
2026-03-04 20:43 ` Caleb Sander Mateos
2026-03-04 20:55 ` Bart Van Assche
2026-03-04 21:03 ` Caleb Sander Mateos
2026-03-04 21:36 ` Bart Van Assche
2026-03-04 19:48 ` [PATCH 12/14] zloop: Add a " Bart Van Assche
2026-03-04 19:48 ` [PATCH 13/14] zram: Add " Bart Van Assche
2026-03-05 1:23 ` Sergey Senozhatsky
2026-03-04 19:48 ` [PATCH 14/14] block: Enable lock context analysis for all block drivers Bart Van Assche
2026-03-05 1:33 ` Sergey Senozhatsky
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=20260304194843.760669-1-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=dlemoal@kernel.org \
--cc=elver@google.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox