summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2021-04-23 04:54:28 +0300
committerJens Axboe <axboe@kernel.dk>2021-04-26 15:44:18 +0300
commitf46ec84b5acbf8d7067d71a6bbdde213d4b86036 (patch)
tree752b0dc8602de6580ee5ab5699662c6814ea87d1 /include/scsi
parent1e91e28e374d0b0b912154c192716374609360d9 (diff)
downloadlinux-f46ec84b5acbf8d7067d71a6bbdde213d4b86036.tar.xz
blk-iocost: don't ignore vrate_min on QD contention
ioc_adjust_base_vrate() ignored vrate_min when rq_wait_pct indicates that there is QD contention. The reasoning was that QD depletion always reliably indicates device saturation and thus it's safe to override user specified vrate_min. However, this sometimes leads to unnecessary throttling, especially on really fast devices, because vrate adjustments have delays and inertia. It also confuses users because the behavior violates the explicitly specified configuration. This patch drops the special case handling so that vrate_min is always applied. Signed-off-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/YIIo1HuyNmhDeiNx@slm.duckdns.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions