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>
Fri, 17 Jun 2022 12:30:35 +0000 (06:30 -0600)
commit4f62869459d992565bd6961bbe4d75a679b95c7f
treefa2b1eee2532bb086dd72bac55f069430cd613e7
parent20e708cc56349e7f789a1d70e7af0d9692de014e
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