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>
Tue, 26 Mar 2024 17:08:06 +0000 (11:08 -0600)
commitc7f1287377d33fecc34dfdb5d8f760de9b0c85f7
treefaccbc0018d67c8c2ad0736ef871f8fd61918dfe
parent273426fe38f223446141bb0aa9a1ee3067c7ef02
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