io_uring: move req async preparation into opcode handler
authorJens Axboe <axboe@kernel.dk>
Mon, 23 May 2022 23:30:37 +0000 (17:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:33:55 +0000 (08:33 -0600)
commitc7e32b1e6dcefed613e944fa6ef107d24bd4bc72
tree4a36c634cdad8dac96e32aa1ecf6520ec7321317
parentf38d5d5d9bebd110ef1a0839f37a0e500cd06c82
io_uring: move req async preparation into opcode handler

Define an io_op_def->prep_async() handler and push the async preparation
to there. Since we now have that, we can drop ->needs_async_setup, as
they mean the same thing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c