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>
Thu, 21 Jul 2022 14:33:55 +0000 (08:33 -0600)
commit877ef7557c75e984a70190ff7449fcff3bf550b4
tree0c96a7091a49a8aeedab646212af56a579eb791d
parent19c2d4b802e679e8a8aecaf1c1be4f43ef43e396
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