diff options
| author | Paolo Valente <paolo.valente@linaro.org> | 2021-03-04 20:46:22 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-03-25 19:50:07 +0300 |
| commit | 2ec5a5c48373d4bc2f0699f86507a65bf0b9df35 (patch) | |
| tree | 5554b5da61f590cfd52111ce1f85c6052cabd65b /lib/test_overflow.c | |
| parent | 9cf1adc6d34f8bb12333afe189a2999131877ea3 (diff) | |
| download | linux-2ec5a5c48373d4bc2f0699f86507a65bf0b9df35.tar.xz | |
block, bfq: always inject I/O of queues blocked by wakers
Suppose that I/O dispatch is plugged, to wait for new I/O for the
in-service bfq-queue, say bfqq. Suppose then that there is a further
bfq_queue woken by bfqq, and that this woken queue has pending I/O. A
woken queue does not steal bandwidth from bfqq, because it remains
soon without I/O if bfqq is not served. So there is virtually no risk
of loss of bandwidth for bfqq if this woken queue has I/O dispatched
while bfqq is waiting for new I/O. In contrast, this extra I/O
injection boosts throughput. This commit performs this extra
injection.
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-2-paolo.valente@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
