]> Git Repo - linux.git/commit
block, bfq: put reqs of waker and woken in dispatch list
authorPaolo Valente <[email protected]>
Thu, 4 Mar 2021 17:46:23 +0000 (18:46 +0100)
committerJens Axboe <[email protected]>
Thu, 25 Mar 2021 16:50:07 +0000 (10:50 -0600)
commit7cc4ffc55564df4349050bcbf46fbdf3f35aef52
treef1ec4c78d1de2fb3ca3d2aec2e9c38a4fddddd5a
parent2ec5a5c48373d4bc2f0699f86507a65bf0b9df35
block, bfq: put reqs of waker and woken in dispatch list

Consider a new I/O request that arrives for a bfq_queue bfqq. If, when
this happens, the only active bfq_queues are bfqq and either its waker
bfq_queue or one of its woken bfq_queues, then there is no point in
queueing this new I/O request in bfqq for service. In fact, the
in-service queue and bfqq agree on serving this new I/O request as
soon as possible. So this commit puts this new I/O request directly
into the dispatch list.

Tested-by: Jan Kara <[email protected]>
Acked-by: Jan Kara <[email protected]>
Signed-off-by: Paolo Valente <[email protected]>
Tested-by: Oleksandr Natalenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/bfq-iosched.c
This page took 0.048532 seconds and 4 git commands to generate.