diff options
| author | Pavel Begunkov <[email protected]> | 2022-03-21 22:02:23 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-04-24 17:34:16 -0600 |
| commit | b605a7fabb607adbe4ea7cc97b69ae6e0555e7b2 (patch) | |
| tree | 3ddff450eeba7d9f5655f3179c1d5b3222f18a1f /tools/perf/scripts/python | |
| parent | a538be5be328229d4da3343d4d6514bb4d5c3d5d (diff) | |
io_uring: move poll recycling later in compl flushing
There is a new (req->flags & REQ_F_POLLED) check in
__io_submit_flush_completions() for poll recycling, however
io_free_batch_list() is a much better place for it. First, we prefer it
after putting the last req ref just to avoid potential problems in the
future. Also, it'll enable the recycling for IOPOLL and also will place
it closer to all other req->flags bits clean up requests.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/31dfe1dafda66ba3ce36b301884ec7e162c777d1.1647897811.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions