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>
Wed, 22 Jun 2022 17:06:07 +0000 (11:06 -0600)
commitd34148c1adbf69e7d0b03f6b7860c61fe1f0e051
tree22eb4924821edb0e2885c62c034ad0fd57ccc508
parenta88dfeecbbb6b34d1ce1e527a44ed34e57470e7b
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