diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-20 15:50:51 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-09 12:04:01 -0700 |
commit | bd5bbda72f7fa013ddea0ff7c4d91daedb821869 (patch) | |
tree | 0015681228d97bacae9546fa04257b0f7eda2b83 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6e1271e60c1d5e822fd1a32a56d52d9ae1823e62 (diff) |
io_uring: fix miscounting ios_left
io_req_init() doesn't decrement state->ios_left if a request doesn't
need ->file, it just returns before that on if(!needs_file). That's
not really a problem but may cause overhead for an additional fput().
Also inline and kill io_req_set_file() as it's of no use anymore.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions