Skip to main content

Module ops

Module ops 

Source
Expand description

Asynchronous I/O ABI types : stable across kernel versions.

Defines the AsyncOp opcode enum, AsyncSqe (submission queue entry), and AsyncCqe (completion queue event) as #[repr(C)] structs.

Structs§

AsyncCqe
A single I/O completion, written by the kernel into the CQ ring.
AsyncSqe
A single I/O submission, written by userspace into the SQ ring.

Enums§

AsyncOp
Operation opcode submitted through the async ring.

Constants§

DEFAULT_RING_ENTRIES
Default SQE ring size (must be a power of two).
MAX_IN_FLIGHT
Maximum number of in-flight operations per ring.