block, bfq: do not tag totally seeky queues as soft rt
authorPaolo Valente <paolo.valente@linaro.org>
Tue, 12 Mar 2019 08:59:31 +0000 (09:59 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 14:15:40 +0000 (08:15 -0600)
commit7074f076ff153021f408229b0ce63063dde9a400
tree692007553290b883af2a141ca72890621089fbf8
parent8cacc5ab3eacf5284bc9b0d7d5b85b748a338104
block, bfq: do not tag totally seeky queues as soft rt

Sync random I/O is likely to be confused with soft real-time I/O,
because it is characterized by limited throughput and apparently
isochronous arrival pattern. To avoid false positives, this commits
prevents bfq_queues containing only random (seeky) I/O from being
tagged as soft real-time.

Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c