diff options
author | 2020-07-16 23:28:33 +0300 | |
---|---|---|
committer | 2020-07-24 13:00:44 -0600 | |
commit | 06ef3608b0eed673fcbc62cf74c8d3ad0007a337 (patch) | |
tree | 39ced7885ecf8b833c3cbe5572203f96e04c44e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring/io-wq: move RLIMIT_FSIZE to io-wq (diff) | |
download | wireguard-linux-06ef3608b0eed673fcbc62cf74c8d3ad0007a337.tar.xz wireguard-linux-06ef3608b0eed673fcbc62cf74c8d3ad0007a337.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions