diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-23 20:25:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-24 22:00:46 +0300 |
commit | f56040b81999871973d21f334b4657957422c90e (patch) | |
tree | 8dae496b24ca65e22a0922d54b0f061f713904aa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ae34817bd93e373a03203a4c6892735c430a14e1 (diff) | |
download | linux-f56040b81999871973d21f334b4657957422c90e.tar.xz |
io_uring: deduplicate io_grab_files() calls
Move io_req_init_async() into io_grab_files(), it's safer this way. Note
that io_queue_async_work() does *init_async(), so it's valid to move out
of __io_queue_sqe() punt path. Also, add a helper around io_grab_files().
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions