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>
Showing
- include/linux/io_uring_types.h 1 addition, 0 deletionsinclude/linux/io_uring_types.h
- io_uring/io_uring.c 3 additions, 0 deletionsio_uring/io_uring.c
- io_uring/opdef.c 0 additions, 1 deletionio_uring/opdef.c
- io_uring/uring_cmd.c 56 additions, 21 deletionsio_uring/uring_cmd.c
- io_uring/uring_cmd.h 9 additions, 1 deletionio_uring/uring_cmd.h
Please register or sign in to comment