]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move all prep state for IORING_OP_{SEND,RECV}_MGS to prep handler
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 15:58:21 +0000 (08:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 16:55:23 +0000 (09:55 -0700)
commitb36a515eb0d200f27f118a7eeeb3e520f6fc2b51
tree976b41eb9011740cdb96c277f02095eaf2dcdad5
parentae7da21dbfeb383ffc6b0d834dc02bb80018fe01
io_uring: move all prep state for IORING_OP_{SEND,RECV}_MGS to prep handler

Add struct io_sr_msg in our io_kiocb per-command union, and ensure that
the send/recvmsg prep handlers have grabbed what they need from the SQE
by the time prep is done.

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