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>
This commit is contained in:
Jens Axboe
2022-07-24 18:39:10 -06:00
parent e0dccc3b76
commit 0702e5364f
+350 -458
View File
File diff suppressed because it is too large Load Diff