diff options
| author | Paolo Valente <paolo.valente@linaro.org> | 2021-03-04 20:46:24 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-03-25 19:50:07 +0300 |
| commit | 8ef3fc3a043cd4b3dfdb260f02be5f65cc31445d (patch) | |
| tree | dbfe2b6b5847271e4a7c177bbd602661d9617fe9 /lib/test_overflow.c | |
| parent | 7cc4ffc55564df4349050bcbf46fbdf3f35aef52 (diff) | |
| download | linux-8ef3fc3a043cd4b3dfdb260f02be5f65cc31445d.tar.xz | |
block, bfq: make shared queues inherit wakers
Consider a bfq_queue bfqq that is about to be merged with another
bfq_queue new_bfqq. The processes associated with bfqq are cooperators
of the processes associated with new_bfqq. So, if bfqq has a waker,
then it is reasonable (and beneficial for throughput) to assume that
all these processes will be happy to let bfqq's waker freely inject
I/O when they have no I/O. So this commit makes new_bfqq inherit
bfqq's waker.
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-4-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
