block, bfq: do not raise non-default weights
authorPaolo Valente <paolo.valente@linaro.org>
Fri, 22 Jan 2021 18:19:46 +0000 (19:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:18:24 +0000 (18:18 -0700)
commit91b896f65d32610d6d58af02170b15f8d37a7702
treeed2698c3a5df7020352e7ba9f81aa5e3b0451caa
parentab1fb47e33dc7754a7593181ffe0742c7105ea9a
block, bfq: do not raise non-default weights

BFQ heuristics try to detect interactive I/O, and raise the weight of
the queues containing such an I/O. Yet, if also the user changes the
weight of a queue (i.e., the user changes the ioprio of the process
associated with that queue), then it is most likely better to prevent
BFQ heuristics from silently changing the same weight.

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