aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorPaolo Valente <paolo.valente@linaro.org>2019-01-29 12:06:33 +0100
committerJens Axboe <axboe@kernel.dk>2019-01-31 12:50:23 -0700
commitd87447d84fe194b0e4f5413b5344dc82cc100711 (patch)
tree6e469ba122fea2651bd34d931dca46f755f0b799 /block/blk-mq.h
parentblock, bfq: unconditionally plug I/O in asymmetric scenarios (diff)
downloadlinux-dev-d87447d84fe194b0e4f5413b5344dc82cc100711.tar.xz
linux-dev-d87447d84fe194b0e4f5413b5344dc82cc100711.zip
block, bfq: fix sequential rq detection in rate estimation
In bfq_update_peak_rate, to check whether an I/O request rq is sequential, only the seek distance of rq w.r.t. the last request dispatched is controlled. This is not sufficient for non-rotational storage, where the size of rq is at least as relevant. This commit adds the missing control. Signed-off-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions