Paolo Valente 58494c980f 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>
2019-09-17 20:03:49 -06:00
..
2019-09-06 14:33:52 -06:00
2019-09-06 14:33:52 -06:00
2019-09-14 11:33:43 -06:00
2019-09-10 12:31:39 -06:00
2019-07-09 10:45:06 -07:00
2019-07-02 21:03:27 -06:00
2019-08-28 21:17:12 -06:00
2019-09-17 16:57:47 -07:00
2019-07-15 09:20:27 -03:00
2019-08-28 21:17:12 -06:00
2019-07-15 09:20:27 -03:00
2019-08-28 21:17:12 -06:00