]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: keep shared queues out of the waker mechanism
authorPaolo Valente <paolo.valente@linaro.org>
Thu, 4 Mar 2021 17:46:26 +0000 (18:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Mar 2021 16:50:07 +0000 (10:50 -0600)
commit635e9162a3f332e99aca95b3857e5214d2fa4a98
tree83e13d8f7939dc4aecbd9af7a546b9486d53b77b
parent5af9c6e90e650b6cc44a749015126ff6fa49ffa6
block, bfq: keep shared queues out of the waker mechanism

Shared queues are likely to receive I/O at a high rate. This may
deceptively let them be considered as wakers of other queues. But a
false waker will unjustly steal bandwidth to its supposedly woken
queue. So considering also shared queues in the waking mechanism may
cause more control troubles than throughput benefits. This commit
keeps shared queues out of the waker-detection mechanism.

Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Link: https://lore.kernel.org/r/20210304174627.161-6-paolo.valente@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c