diff options
author | 2021-01-25 20:02:44 +0100 | |
---|---|---|
committer | 2021-01-25 14:18:31 -0700 | |
commit | 7f1995c27b19060dbdff23442f375e3097c90707 (patch) | |
tree | 8f8ab896447363c0e30b15ed83c2fb4622f52042 /fs/jbd2/commit.c | |
parent | block, bfq: replace mechanism for evaluating I/O intensity (diff) | |
download | linux-dev-7f1995c27b19060dbdff23442f375e3097c90707.tar.xz linux-dev-7f1995c27b19060dbdff23442f375e3097c90707.zip |
block, bfq: re-evaluate convenience of I/O plugging on rq arrivals
Upon an I/O-dispatch attempt, BFQ may detect that it was better to
plug I/O dispatch, and to wait for a new request to arrive for the
currently in-service queue. But the arrival of a new request for an
empty bfq_queue, and thus the switch from idle to busy of the
bfq_queue, may cause the scenario to change, and make plugging no
longer needed for service guarantees, or more convenient for
throughput. In this case, keeping I/O-dispatch plugged would certainly
lower throughput.
To address this issue, this commit makes such a check, and stops
plugging I/O if it is better to stop plugging I/O.
Tested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions