diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-28 22:35:18 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 17:41:58 -0600 |
commit | 26f0505a9ce571f3b1fcef6e86c5c99c68ca7eca (patch) | |
tree | 812c420d3ab0354bd1907be8c4619b654bbf59ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6cb78689fa94c80784faef76744746aee558c344 (diff) |
io_uring: rethink def->needs_async_data
needs_async_data controls allocation of async_data, and used in two
cases. 1) when async setup requires it (by io_req_prep_async() or
handler themselves), and 2) when op always needs additional space to
operate, like timeouts do.
Opcode preps already don't bother about the second case and do
allocation unconditionally, restrict needs_async_data to the first case
only and rename it into needs_async_setup.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
[axboe: update for IOPOLL fix]
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