Re: [PATCH] blk-mq: Make blk_mq_quiesce_tagset() hold the tag list mutex less long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> Cc: Chao Leng <lengchao@xxxxxxxxxx>
> Cc: Ming Lei <ming.lei@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: commit 414dd48e882c ("blk-mq: add tagset quiesce interface")
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks,
Ming





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux