io_uring/net: get rid of ->prep_async() for send side
authorJens Axboe <axboe@kernel.dk>
Mon, 18 Mar 2024 14:09:47 +0000 (08:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:25 +0000 (08:10 -0600)
commit50220d6ac8ff31eb065fba818e960f549fb89d4d
tree7e994c9bc98778df72e839adb090b8b0d6fd6448
parentc6f32c7d9e09bf1368447e9a29e869193ecbb756
io_uring/net: get rid of ->prep_async() for send side

Move the io_async_msghdr out of the issue path and into prep handling,
e it's now done unconditionally and hence does not need to be part
of the issue path. This means any usage of io_sendrecv_prep_async() and
io_sendmsg_prep_async(), and hence the forced async setup path is now
unified with the normal prep setup.

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