block: fix lock dependency between freeze and elevator lock
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v13 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- modeling lockdep for blk_mq_enter_no_io() and blk_mq_exit_no_io() (Nilay)
- fixes no_io check
- improve commit log
- add reviewed-by
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: add blk_mq_enter_no_io() and blk_mq_exit_no_io()block/ block/ block/ +2 more | +59 | 2 replies | |
| 2/3 | block: don't call freeze queue in elevator_switch() and elevator_disable()block/ | +0 | 1 reply | |
| 3/3 | block: use blk_mq_no_io() for avoiding lock dependencyblock/ block/ block/ | +8 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Nilay Shroff |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/3] block: fix lock dependency between freeze and elevator lock
Hello Jens,
This patchset adds two pair of block internal APIs for addressing recent lockdep report between freeze and elevator lock.
Thanks,
Ming
V2:
- modeling lockdep for blk_mq_enter_no_io() and blk_mq_exit_no_io() (Nilay)
- fixes no_io check
- improve commit log
- add reviewed-by
Ming Lei (3):
block: add blk_mq_enter_no_io() and blk_mq_exit_no_io()
block: don't call freeze queue in elevator_switch() and
elevator_disable()
block: use blk_mq_no_io() for avoiding lock dependency
block/blk-core.c | 6 ++++-- block/blk-mq.c | 34 +++++++++++++++++++++++++++------- block/blk-mq.h | 19 +++++++++++++++++++ block/blk-sysfs.c | 8 ++++---- block/blk.h | 5 +++-- block/elevator.c | 11 ++--------- include/linux/blkdev.h | 8 ++++++++ 7 files changed, 67 insertions(+), 24 deletions(-)
Signature · 1 line
2.47.0