io_uring/net: get rid of ->prep_async() for receive side
authorJens Axboe <axboe@kernel.dk>
Mon, 18 Mar 2024 13:36:03 +0000 (07:36 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:25 +0000 (08:10 -0600)
commitc6f32c7d9e09bf1368447e9a29e869193ecbb756
tree941e0c2eaa18d1b8f663d842659d07f00a5d6a49
parent3ba8345aec886a3a01331e944a6a8568bf94bd10
io_uring/net: get rid of ->prep_async() for receive side

Move the io_async_msghdr out of the issue path and into prep handling,
since it's now done unconditionally and hence does not need to be part
of the issue path. This reduces the footprint of the multishot fast
path of multiple invocations of ->issue() per prep, and also means that
using ->prep_async() can be dropped for recvmsg asthis is now done via
setup on the prep side.

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