block: Fix deadlock when merging requests with BFQ
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 1 replyApplied
- v32 patches 0 repliesSuperseded
- v22 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 10 replies | Superseded |
Changes in v4 from the cover letter
* Rebased on top of for-next branch in axboe/linux-block.git
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bfq: Remove merged request already in bfq_requests_merged()block/ | +13 | 0 replies | |
| 2/2 | blk: Fix lock inversion between ioc lock and bfqd lockblock/ block/ block/ +6 more | +43 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Valente | Ming Lei |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2 v4] block: Fix deadlock when merging requests with BFQ
Hello,
This patch series fixes a lockdep complaint and a possible deadlock that can happen when blk_mq_sched_try_insert_merge() merges and frees a request. Jens, can you please merge the series? It seems to have slipped through last time when I posted it. Thanks!
Changes since v3:
* Rebased on top of for-next branch in axboe/linux-block.git
Changes since v2:
* Added reviewed-by tags
Changes since v1:
* Remove patch disabling recursing request merging during request insertion
* Modified BFQ to cleanup merged request already in its .merge_requests handler
* Added code to handle multiple requests that need freeing after being merged
Honza