]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: make waker-queue detection more robust
authorPaolo Valente <paolo.valente@linaro.org>
Mon, 25 Jan 2021 19:02:48 +0000 (20:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 21:18:37 +0000 (14:18 -0700)
commite60b1ae1136ff92eb901bc9b8001aefe0e2598a0
tree665b6a543e3f5818649e406badf6a4f57cd84d97
parentf9d56ab9e50fe2c830b97de2cdf094734ac332be
block, bfq: make waker-queue detection more robust

In the presence of many parallel I/O flows, the detection of waker
bfq_queues suffers from false positives. This commits addresses this
issue by making the filtering of actual wakers more selective. In more
detail, a candidate waker must be found to meet waker requirements
three times before being promoted to actual waker.

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
block/bfq-iosched.h