linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] block: freeze/unfreeze lockdep fixes
@ 2024-10-30 12:42 Ming Lei
  2024-10-30 12:42 ` [PATCH 1/5] block: remove blk_freeze_queue() Ming Lei
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Ming Lei @ 2024-10-30 12:42 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Christoph Hellwig, Ming Lei

Hello,

The 1st patch removes blk_freeze_queue().

The 2nd & 3rd patches add blk_mq_freeze_queue_non_owner() and apply
it on rbd.

The 4th patches fixes potential unfreeze lock verification on non-owner
context.

The 5th patch doesn't verify io lock in elevator_init_mq() for fixing
false lockdep warning.

Ming Lei (5):
  block: remove blk_freeze_queue()
  blk-mq: add non_owner variant of blk_mq_freeze_queue API
  rbd: convert to blk_mq_freeze_queue_non_owner
  block: always verify unfreeze lock on the owner task
  block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()

 block/blk-core.c       |  2 +-
 block/blk-mq.c         | 98 ++++++++++++++++++++++++++++--------------
 block/blk.h            |  4 +-
 block/elevator.c       |  8 +++-
 drivers/block/rbd.c    |  2 +-
 include/linux/blk-mq.h |  1 +
 include/linux/blkdev.h |  4 ++
 7 files changed, 81 insertions(+), 38 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-10-30 15:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 12:42 [PATCH 0/5] block: freeze/unfreeze lockdep fixes Ming Lei
2024-10-30 12:42 ` [PATCH 1/5] block: remove blk_freeze_queue() Ming Lei
2024-10-30 14:43   ` Christoph Hellwig
2024-10-30 12:42 ` [PATCH 2/5] blk-mq: add non_owner variant of blk_mq_freeze_queue API Ming Lei
2024-10-30 12:42 ` [PATCH 3/5] rbd: convert to blk_mq_freeze_queue_non_owner Ming Lei
2024-10-30 14:44   ` Christoph Hellwig
2024-10-30 15:02     ` Ming Lei
2024-10-30 12:42 ` [PATCH 4/5] block: always verify unfreeze lock on the owner task Ming Lei
2024-10-30 14:46   ` Christoph Hellwig
2024-10-30 14:53     ` Ming Lei
2024-10-30 12:42 ` [PATCH 5/5] block: don't verify IO lock for freeze/unfreeze in elevator_init_mq() Ming Lei
2024-10-30 14:46   ` Christoph Hellwig
2024-10-30 14:59     ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).