[PATCH v2 0/1] nvme: Convert tag_list mutex to rwsemaphore to avoid deadlock
Mohamed Khalfella
mkhalfella at purestorage.com
Mon Nov 17 12:23:52 PST 2025
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/20251113202320.2530531-1-mkhalfella@purestorage.com/
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(-)
--
2.51.0
More information about the Linux-nvme
mailing list