diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-16 23:28:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-24 13:00:44 -0600 |
commit | 06ef3608b0eed673fcbc62cf74c8d3ad0007a337 (patch) | |
tree | 39ced7885ecf8b833c3cbe5572203f96e04c44e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 57f1a64958543fe18a7fe0addbfb31bb2ceeaea2 (diff) |
io_uring: simplify file ref tracking in submission state
Currently, file refs in struct io_submit_state are tracked with 2 vars:
@has_refs -- how many refs were initially taken
@used_refs -- number of refs used
Replace it with a single variable counting how many refs left at the
current moment.
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions