diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2019-06-25 07:12:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-25 09:07:34 -0600 |
commit | a3f9bce3697a5b4039ff7096db4a1ee897349276 (patch) | |
tree | 24d9d3a9e58279913cd889b11590c29570728af8 /block/bfq-iosched.h | |
parent | 24792ad01cb659c8b5899de2af6e8ca250f93df3 (diff) | |
download | linux-a3f9bce3697a5b4039ff7096db4a1ee897349276.tar.gz linux-a3f9bce3697a5b4039ff7096db4a1ee897349276.tar.bz2 linux-a3f9bce3697a5b4039ff7096db4a1ee897349276.zip |
block, bfq: bring forward seek&think time update
Until the base value for request service times gets finally computed
for a bfq_queue, the inject limit for that queue does depend on the
think-time state (short|long) of the queue. A timely update of the
think time then guarantees a quicker activation or deactivation of the
injection. Fortunately, the think time of a bfq_queue is updated in
the same code path as the inject limit; but after the inject limit.
This commits moves the update of the think time before the update of
the inject limit. For coherence, it moves the update of the seek time
too.
Reported-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu>
Tested-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions