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>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commitdc919caff6b68dab1ae56cd341d96f50c2438aea
tree94a6ecd28cf36318d6ccd04ea2d85653a253799a
parented29b0b4fd835b058ddd151c49d021e28d631ee6
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