From: Nilay Shroff <nilay@linux.ibm.com>
To: axboe@kernel.dk, mt4022@columbia.edu, hch@lst.de,
mkhalfella@purestorage.com, bvanassche@acm.org,
kbusch@kernel.org, josef@toxicpanda.com, tom.leiming@gmail.com,
tz2294@columbia.edu, gjoyce@linux.ibm.com
Cc: linux-block@vger.kernel.org, Nilay Shroff <nilay@linux.ibm.com>
Subject: [PATCH 0/3] block: remove RCU protection and add context annotation
Date: Thu, 3 Dec 2026 20:52:36 +0530 [thread overview]
Message-ID: <20261203152318.654390-5-nilay@linux.ibm.com> (raw)
Hi,
This series removes RCU protection for set->tag_list, as access to
the list is now serialized using set->quiesce_lock. Both list
traversal and modification are protected by the appropriate locks,
making RCU protection unnecessary.
The series also removes the unused blk_mq_free_sched_res_batch()
function and its declaration.
Finally, it adds context annotations to struct blk_mq_tag_set and
relevant functions to document the locking requirements for
set->tag_list and set->quiesce_depth.
Thanks!
Nilay Shroff (3):
block: remove RCU protection for tag_set_list
block: remove unused blk_mq_free_sched_res_batch()
block: add context annotations for tag_list_lock and quiesce_lock
block/blk-mq-sched.c | 27 ---------------------------
block/blk-mq-sched.h | 8 ++++----
block/blk-mq.c | 17 ++++++++---------
include/linux/blk-mq.h | 9 ++++++---
4 files changed, 18 insertions(+), 43 deletions(-)
base-commit: 348d25516523c3edfec477d56abde2b2491dbf9d
--
2.53.0
next reply other threads:[~2026-12-03 15:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 15:22 Nilay Shroff [this message]
2026-12-03 15:22 ` [PATCH 1/3] block: remove RCU protection for tag_set_list Nilay Shroff
2026-12-03 16:41 ` Bart Van Assche
2026-12-03 15:22 ` [PATCH 2/3] block: remove unused blk_mq_free_sched_res_batch() Nilay Shroff
2026-12-03 16:42 ` Bart Van Assche
2026-12-03 15:22 ` [PATCH 3/3] block: add context annotations for tag_list_lock and quiesce_lock Nilay Shroff
2026-12-03 16:43 ` Bart Van Assche
2026-12-04 9:36 ` Nilay Shroff
2026-12-04 16:27 ` 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=20261203152318.654390-5-nilay@linux.ibm.com \
--to=nilay@linux.ibm.com \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=gjoyce@linux.ibm.com \
--cc=hch@lst.de \
--cc=josef@toxicpanda.com \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=mkhalfella@purestorage.com \
--cc=mt4022@columbia.edu \
--cc=tom.leiming@gmail.com \
--cc=tz2294@columbia.edu \
/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.