diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-10-10 18:34:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-10 12:49:25 -0600 |
commit | 71b547c048eb10d54627932019411549b1e4cfb7 (patch) | |
tree | 641088f0845311cdbfc839982b6b0a55351ff63c /tools/perf/scripts/python/stackcollapse.py | |
parent | 8371adf53c3c5ebfde1172608d3f4e126729cb10 (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions