diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2019-08-22 17:20:37 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-17 20:03:49 -0600 |
commit | 58494c980f40274c465ebfdece02d401def088bf (patch) | |
tree | 16500553ac438b09d4524e54ef069bfadbb03b27 /virt | |
parent | 17c3d2660268501d36b75c7c7083dc8f2bbb93c3 (diff) |
block, bfq: push up injection only after setting service time
If equal to 0, the injection limit for a bfq_queue is pushed to 1
after a first sample of the total service time of the I/O requests of
the queue is computed (to allow injection to start). Yet, because of a
mistake in the branch that performs this action, the push may happen
also in some other case. This commit fixes this issue.
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions