io_uring/net: use async caches for async prep
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 8 Sep 2022 12:20:30 +0000 (13:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:43 +0000 (10:30 -0600)
commit858c293e5d3b7fd3037883fcc0379594517c926c
tree830fc493a217362f0ce578591c50c1c3fdf9e7a7
parent95eafc74be5e11f9dd6a11504c27321c515ce00f
io_uring/net: use async caches for async prep

send/recv have async_data caches but there are only used from within
issue handlers. Extend their use also to ->prep_async, should be handy
with links and IOSQE_ASYNC.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b9a2264b807582a97ed606c5bfcdc2399384e8a5.1662639236.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c
io_uring/opdef.c