]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: reduce threshold for detecting command queueing
authorPaolo Valente <paolo.valente@linaro.org>
Tue, 29 Jan 2019 11:06:35 +0000 (12:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Jan 2019 19:50:24 +0000 (12:50 -0700)
commitb470a81a7c00fd3b2fb369b3d265e8f145117ca6
tree7cf2e0a7b0e83f82d4faf9dd8d0762795303d68c
parent61226c42576993f651aab3a8178865a6a4f6ab62
block, bfq: reduce threshold for detecting command queueing

bfq simple heuristic from cfq for detecting whether the drive performs
command queueing: check whether the average number of in-flight requests
is above a given threshold. Unfortunately this heuristic does fail to
detect queueing (on drives with queueing) if processes doing I/O are few
and issue I/O with a low depth.

To reduce false negatives, this commit lowers the threshold.

Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c