diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-06-15 16:47:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-15 15:44:33 -0600 |
commit | 10c669040e9b3538e1732c8d40729636b17ce9dd (patch) | |
tree | fdea8650df3f3cf72e32be4a4dbd3e58cfb6b80c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 27f6b318dea2d7ccccc9dca416e59431838c2929 (diff) |
io_uring: switch !DRAIN fast path when possible
->drain_used is one way, which is not optimal if users use DRAIN but
very rarely. However, we can just clear it in io_drain_req() when all
drained before requests are gone. Also rename the flag to reflect the
change and be more clear about it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7f37a240857546a94df6348507edddacab150460.1623772051.git.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