diff options
author | 2019-06-25 07:12:45 +0200 | |
---|---|---|
committer | 2019-06-25 09:07:34 -0600 | |
commit | 24792ad01cb659c8b5899de2af6e8ca250f93df3 (patch) | |
tree | ccb4a16c5352a4334c88e2ec647e49c66947857f /include/linux/bio.h | |
parent | block, bfq: fix rq_in_driver check in bfq_update_inject_limit (diff) | |
download | wireguard-linux-24792ad01cb659c8b5899de2af6e8ca250f93df3.tar.xz wireguard-linux-24792ad01cb659c8b5899de2af6e8ca250f93df3.zip |
block, bfq: update base request service times when possible
I/O injection gets reduced if it increases the request service times
of the victim queue beyond a certain threshold. The threshold, in its
turn, is computed as a function of the base service time enjoyed by
the queue when it undergoes no injection.
As a consequence, for injection to work properly, the above base value
has to be accurate. In this respect, such a value may vary over
time. For example, it varies if the size or the spatial locality of
the I/O requests in the queue change. It is then important to update
this value whenever possible. This commit performs this update.
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 'include/linux/bio.h')
0 files changed, 0 insertions, 0 deletions