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)
commit71217df39dc67a0aeed83352b0d712b7892036a2
tree665b6a543e3f5818649e406badf6a4f57cd84d97
parent5a5436b98d5cd2714feaaa579cec49dd7f7057bb
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