io_uring/uring_cmd: switch to always allocating async data
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Mar 2024 02:41:58 +0000 (20:41 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Mar 2024 17:09:01 +0000 (11:09 -0600)
commit236b1d77ef94df72e605b01874b526ad83265a8b
treea34ebf1929c1da029bb62570340942170172300e
parent45276790172e2bb92de8e60e4d6d35e11e27af64
io_uring/uring_cmd: switch to always allocating async data

Basic conversion ensuring async_data is allocated off the prep path. Adds
a basic alloc cache as well, as passthrough IO can be quite high in rate.

Tested-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/opdef.c
io_uring/uring_cmd.c
io_uring/uring_cmd.h