]> Gentwo Git Trees - linux/.git/commit
io_uring: pass sq entries in the params struct
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 10 Nov 2025 13:04:50 +0000 (13:04 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Nov 2025 14:53:33 +0000 (07:53 -0700)
commit7bb21a52e2d435b9edffe3b40264ab4462e338e0
treee613d36d346b31b60a5016bf7e570fad71d8eeda
parent4aed5b4e6d276d2308d0ea8932b0c6ebfd3d19f8
io_uring: pass sq entries in the params struct

There is no need to pass the user requested number of SQ entries
separately from the main parameter structure io_uring_params. Initialise
it at the beginning and stop passing it in favour of struct
io_uring_params::sq_entries.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/register.c