]> 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)
commit8010f48dfe61f3abc493b5954885996e8045efdb
treeed2698c3a5df7020352e7ba9f81aa5e3b0451caa
parentcbe4619993ebfb1b6a03008da944e0dd5d1bca9c
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