Skip to content
Commit e3ef728f authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: cap io_sqring_entries() at SQ ring size



We already do this manually for the !SQPOLL case, do it in general and
we can also dump the ugly min3() in io_submit_sqes().

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2ad57931
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment