Skip to content

block: freeze/unfreeze lockdep fixes

Ming Lei linux-block 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesApplied
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4block: remove blk_freeze_queue()block/blk-mq.c block/blk.h+1 -220 replies
2/4rbd: unfreeze queue after marking disk as deaddrivers/block/rbd.c+1 -00 replies
3/4block: always verify unfreeze lock on the owner taskblock/blk-core.c block/blk-mq.c block/blk.h +1 more+61 -100 replies
4/4block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()block/elevator.c+8 -20 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/4] block: freeze/unfreeze lockdep fixes

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(-)
Signature · 1 line
2.47.0