io_uring: define a 'prep' and 'issue' handler for each opcode
authorJens Axboe <axboe@kernel.dk>
Mon, 23 May 2022 22:56:21 +0000 (16:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commit0702e5364f643bc86683d9f585edfe76dbabae39
tree4e7df4967e13e717f7475b083e452169f6b82bf5
parente0dccc3b76fb35bb257b4118367a883073d7390e
io_uring: define a 'prep' and 'issue' handler for each opcode

Rather than have two giant switches for doing request preparation and
then for doing request issue, add a prep and issue handler for each
of them in the io_op_defs[] request definition.

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