io_uring: define a 'prep' and 'issue' handler for each opcode

[ Upstream commit 0702e5364f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jens Axboe 2022-05-23 16:56:21 -06:00 • committed by Greg Kroah-Hartman
commit 674147513d