[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251204181212.1484066-1-mkhalfella@purestorage.com>
Date: Thu, 4 Dec 2025 10:11:52 -0800
From: Mohamed Khalfella <mkhalfella@...estorage.com>
To: Chaitanya Kulkarni <kch@...dia.com>,
Christoph Hellwig <hch@....de>,
Jens Axboe <axboe@...nel.dk>,
Keith Busch <kbusch@...nel.org>,
Sagi Grimberg <sagi@...mberg.me>
Cc: Casey Chen <cachen@...estorage.com>,
Yuanyuan Zhong <yzhong@...estorage.com>,
Hannes Reinecke <hare@...e.de>,
Ming Lei <ming.lei@...hat.com>,
Waiman Long <llong@...hat.com>,
Hillf Danton <hdanton@...a.com>,
linux-nvme@...ts.infradead.org,
linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mohamed Khalfella <mkhalfella@...estorage.com>
Subject: [PATCH 0/1] Use RCU in blk_mq_[un]quiesce_tagset() instead of set->tag_list_lock
The patch in v2 converted set->tag_list_lock to a rwsemaphore. It was
pointed out this could result in a different kind of deadlock. This
patch uses RCU to protect set->tag_list when accessed from [un]quiesce
code.
v2 - https://lore.kernel.org/all/20251117202414.4071380-1-mkhalfella@purestorage.com/
Mohamed Khalfella (1):
block: Use RCU in blk_mq_[un]quiesce_tagset() instead of
set->tag_list_lock
block/blk-mq.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
--
2.51.2
Powered by blists - more mailing lists