]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit875a4aaf2e25cd99e68fa3f2818a75b7ad3c1c50
treeed2698c3a5df7020352e7ba9f81aa5e3b0451caa
parent9834c16cc91e254b8384d197bb7c157afd5e5576
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