commit | 90554200724d5b280439dc361fe7ee92fe459ea7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Sep 03 12:12:41 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 30 20:32:33 2020 -0600 |
tree | 84e9f46f6ffba3498620134c8b9761c26e5d4146 | |
parent | 738277adc81929b3e7c9b63fec6693868cc5f931 [diff] |
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: Jens Axboe <axboe@kernel.dk>