diff options
author | Bart Van Assche <[email protected]> | 2024-10-22 11:16:17 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-22 19:11:25 -0600 |
commit | ccd9e252c515ac5a3ed04a414c95d1307d17f159 (patch) | |
tree | 21966a99098342d8bf53f38b81fc1baeaad646c1 /tools/perf/scripts/python | |
parent | 904ebd2527c507752f5ddb358f887d2e0dab96a0 (diff) |
blk-mq: Make blk_mq_quiesce_tagset() hold the tag list mutex less long
Make sure that the tag_list_lock mutex is not held any longer 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 <[email protected]>
Cc: Chao Leng <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: [email protected]
Fixes: 414dd48e882c ("blk-mq: add tagset quiesce interface")
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions