On Tue, Oct 22, 2024 at 11:16:17AM -0700, Bart Van Assche wrote:
Make sure that the tag_list_lock mutex is no longer held than necessary. This change reduces latency if e.g. blk_mq_quiesce_tagset() is called concurrently from more than one thread. This function is used by the NVMe core and also by the UFS driver.
Reported-by: Peter Wang peter.wang@mediatek.com Cc: Chao Leng lengchao@huawei.com Cc: Ming Lei ming.lei@redhat.com Cc: stable@vger.kernel.org Fixes: commit 414dd48e882c ("blk-mq: add tagset quiesce interface") Signed-off-by: Bart Van Assche bvanassche@acm.org
Reviewed-by: Ming Lei ming.lei@redhat.com
Thanks, Ming