From: Mohamed Khalfella <mkhalfella@purestorage.com>
To: Jens Axboe <axboe@kernel.dk>, Keith Busch <kbusch@kernel.org>,
Sagi Grimberg <sagi@grimberg.me>,
Chaitanya Kulkarni <kch@nvidia.com>
Cc: Casey Chen <cachen@purestorage.com>,
Vikas Manocha <vmanocha@purestorage.com>,
Yuanyuan Zhong <yzhong@purestorage.com>,
Hannes Reinecke <hare@suse.de>, Ming Lei <ming.lei@redhat.com>,
linux-nvme@lists.infradead.org, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org,
Mohamed Khalfella <mkhalfella@purestorage.com>
Subject: [PATCH v2 0/1] nvme: Convert tag_list mutex to rwsemaphore to avoid deadlock
Date: Mon, 17 Nov 2025 12:23:52 -0800 [thread overview]
Message-ID: <20251117202414.4071380-1-mkhalfella@purestorage.com> (raw)
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
next reply other threads:[~2025-11-17 20:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-17 20:23 Mohamed Khalfella [this message]
2025-11-17 20:23 ` [PATCH v2 1/1] " Mohamed Khalfella
2025-11-18 1:34 ` Hillf Danton
2025-11-18 2:07 ` Mohamed Khalfella
2025-11-18 2:24 ` Waiman Long
2025-11-18 3:08 ` Ming Lei
2025-11-18 3:42 ` Waiman Long
2025-11-18 4:03 ` Ming Lei
[not found] ` <702d904c-2d9a-42b4-95b3-0fa43d91e673@redhat.com>
2025-11-18 4:50 ` Ming Lei
2025-11-18 17:59 ` Mohamed Khalfella
2025-11-18 5:02 ` Mohamed Khalfella
2025-11-18 2:00 ` Ming Lei
2025-11-18 2:15 ` Mohamed Khalfella
2025-11-18 2:30 ` Ming Lei
2025-11-18 3:44 ` Mohamed Khalfella
2025-11-18 4:16 ` Ming Lei
2025-11-24 4:00 ` Ming Lei
2025-11-24 17:42 ` Mohamed Khalfella
2025-12-01 1:36 ` Hillf Danton
2025-12-01 2:50 ` Jens Axboe
2025-11-30 22:56 ` Sagi Grimberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251117202414.4071380-1-mkhalfella@purestorage.com \
--to=mkhalfella@purestorage.com \
--cc=axboe@kernel.dk \
--cc=cachen@purestorage.com \
--cc=hare@suse.de \
--cc=kbusch@kernel.org \
--cc=kch@nvidia.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=ming.lei@redhat.com \
--cc=sagi@grimberg.me \
--cc=vmanocha@purestorage.com \
--cc=yzhong@purestorage.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®