diff options
| author | Pavel Begunkov <[email protected]> | 2021-09-08 16:40:52 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-19 05:49:52 -0600 |
| commit | c450178d9be9dc44327f3b526f82c36e4c5d362b (patch) | |
| tree | 0afe93d2fd482987d6dd2fb762808e9d0e02d256 /tools/perf/scripts/python/compaction-times.py | |
| parent | d81499bfcd471e6b920683f8fcf06ce65f84286b (diff) | |
io_uring: dedup CQE flushing non-empty checks
We don't do io_submit_flush_completions() when there is no requests
enqueued, and every single caller checks for it. Hide that check into
the function not forgetting about inlining. That will make it much
easier for changing the empty check condition in the future.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/d7ff8cef5da1b38e8ea648f5aad9a315ddfc7b57.1631115443.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions