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

io_uring: provide IORING_ENTER_SQ_WAIT for SQPOLL SQ ring waits



When using SQPOLL, applications can run into the issue of running out of
SQ ring entries because the thread hasn't consumed them yet. The only
option for dealing with that is checking later, or busy checking for the
condition.

Provide IORING_ENTER_SQ_WAIT if applications want to wait on this
condition.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 738277ad
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