IOSQE_ASYNC
IOSQE_ASYNC is an io_uring submission-entry flag that requests helper-thread execution without the initial nonblocking issue attempt.
The flag selects offload from the outset for work expected to block. Without it, io_uring normally first attempts nonblocking issue. Forcing offload can add overhead, so it is not a general performance switch. Selecting offload does not promise an immediate start. [1]
This flag changes execution context, not dependency scope. It neither links a write to a following fsync nor validates a returned byte count. A durable acknowledgment still needs complete write results and correctly ordered synchronization. [2]
Relations
Limitations
- Applications need workload-specific evidence before enabling forced offload broadly. [1]
Citations
- liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC
- liburing 2.10: io_uring_enter(2), submission consumption and IORING_OP_FSYNC
Further reading
Sources & caveats
- Reviewed against the liburing 2.10 SQE-flags and enter manuals; this is source synthesis, not a benchmark.