]> git.itanic.dy.fi Git - linux-stable/commit
io_uring/rw: add separate prep handler for readv/writev
authorJens Axboe <axboe@kernel.dk>
Mon, 6 Nov 2023 14:41:17 +0000 (07:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Nov 2023 14:41:17 +0000 (07:41 -0700)
commit0e984ec88da9747549227900e5215c5e6a1b65ae
tree73150143deffae7fe41655baee54d5f9d03b7a96
parentf8f9ab2d98116e79d220f1d089df7464ad4e026d
io_uring/rw: add separate prep handler for readv/writev

Rather than sprinkle opcode checks in the generic read/write prep handler,
have a separate prep handler for the vectored readv/writev operation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/opdef.c
io_uring/rw.c
io_uring/rw.h