diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-10-10 20:34:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-10 21:49:25 +0300 |
commit | 71b547c048eb10d54627932019411549b1e4cfb7 (patch) | |
tree | 641088f0845311cdbfc839982b6b0a55351ff63c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8371adf53c3c5ebfde1172608d3f4e126729cb10 (diff) | |
download | linux-71b547c048eb10d54627932019411549b1e4cfb7.tar.xz |
io_uring: improve submit_state.ios_left accounting
state->ios_left isn't decremented for requests that don't need a file,
so it might be larger than number of SQEs left. That in some
circumstances makes us to grab more files that is needed so imposing
extra put.
Deaccount one ios_left for each request.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions