mbox series

[V2,0/4] block: freeze/unfreeze lockdep fixes

Message ID 20241031133723.303835-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series block: freeze/unfreeze lockdep fixes | expand

Message

Ming Lei Oct. 31, 2024, 1:37 p.m. UTC
Hello,

The 1st patch removes blk_freeze_queue().

The 2nd patch fixes freeze uses in rbd.

The 3rd patches fixes potential unfreeze lock verification on non-owner
context.

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

V2:
	- drop patch 1 and fix rbd by adding unfreeze (Christoph)
	- add reviewed-by


Ming Lei (4):
  block: remove blk_freeze_queue()
  rbd: unfreeze queue after marking disk as dead
  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         | 84 +++++++++++++++++++++++++++---------------
 block/blk.h            |  4 +-
 block/elevator.c       | 10 ++++-
 drivers/block/rbd.c    |  1 +
 include/linux/blkdev.h |  4 ++
 6 files changed, 71 insertions(+), 34 deletions(-)