EnterFlags

io_uring_enter(2) flags

Values

ValueMeaning
NONE0
GETEVENTS1U << 0

IORING_ENTER_GETEVENTS

SQ_WAKEUP1U << 1

IORING_ENTER_SQ_WAKEUP

SQ_WAIT1U << 2

IORING_ENTER_SQ_WAIT (from Linux 5.10)

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.

EXT_ARG1U << 3

IORING_ENTER_EXT_ARG (from Linux 5.11)

Adds support for timeout to existing io_uring_enter() function.

Meta