Linux block layer
 help / color / mirror / Atom feed
* [PATCH 0/3] block: remove RCU protection and add context annotation
@ 2026-12-03 15:22 Nilay Shroff
  2026-12-03 15:22 ` [PATCH 1/3] block: remove RCU protection for tag_set_list Nilay Shroff
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nilay Shroff @ 2026-12-03 15:22 UTC (permalink / raw)
  To: axboe, mt4022, hch, mkhalfella, bvanassche, kbusch, josef,
	tom.leiming, tz2294, gjoyce
  Cc: linux-block, Nilay Shroff

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-03 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 15:22 [PATCH 0/3] block: remove RCU protection and add context annotation Nilay Shroff
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox