Commit 9b569e2b authored by Yu Kuai's avatar Yu Kuai
Browse files

blk-mq: add apis to disable fair tag sharing

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8RGGC
CVE: NA

-----------------------------------------------

The fair sharing algorithm has a negative performance impact for storage
devices for which the full queue depth is required to reach peak
performance, e.g. UFS devices. This is because it takes long after a
request queue became inactive until tags are reassigned to the active
request queue(s). Since making tag sharing fair is not needed if the
request processing latency is similar for all request queues, introduce
a function for configuring fair tag sharing.

Originally-from: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/all/20231130193139.880955-2-bvanassche@acm.org/


Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
parent eec84f43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment