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>
Mon, 15 Apr 2024 14:10:25 +0000 (08:10 -0600)
commitd10f19dff56eac5ae44dc270336b18071a8bd51c
treeecc43b35af05671e2821eaeb455184791ab9efbf
parente2ea5a7069133c01fe3dbda95d77af7f193a1a52
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