nvme: Convert tag_list mutex to rwsemaphore to avoid deadlock
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 19 repliesIn review
- v11 patch 8 repliesSuperseded
Changes in v2 from the cover letter
- Keep existing behavior do not freeze newly added "q" when transitioning tagset from unshared to shared.
- Delete blk_mq_update_tag_set_shared() and explicitly freeze "firstq" and "q" and set their shared status.
- Add comment explaining why we are downgrading the semaphore before freezing "firstq".
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | nvme: Convert tag_list mutex to rwsemaphore to avoid deadlockblock/ block/ include/ | +58 | 19 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Ming Lei | Sagi Grimberg |
|---|---|---|
| 1/1 | R-b | 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/1] nvme: Convert tag_list mutex to rwsemaphore to avoid deadlock
Changes from v1:
- Keep existing behavior do not freeze newly added "q" when transitioning tagset from unshared to shared.
- Delete blk_mq_update_tag_set_shared() and explicitly freeze "firstq" and "q" and set their shared status.
- Add comment explaining why we are downgrading the semaphore before freezing "firstq".
v1: https://lore.kernel.org/all/[email protected]/
Mohamed Khalfella (1):
nvme: Convert tag_list mutex to rwsemaphore to avoid deadlock
block/blk-mq-sysfs.c | 10 ++--- block/blk-mq.c | 95 +++++++++++++++++++++++------------------- include/linux/blk-mq.h | 4 +- 3 files changed, 58 insertions(+), 51 deletions(-)
Signature · 1 line
2.51.0