1io_uring_sqring_wait(3) liburing Manual io_uring_sqring_wait(3)
2
3
4
6 io_uring_sqring_wait - wait for free space in the SQ ring
7
9 #include <liburing.h>
10
11 int io_uring_sqring_wait(struct io_uring *ring);
12
14 The function io_uring_sqring_wait(3) allows the caller to wait for
15 space to free up in the SQ ring belonging to the ring param, which hap‐
16 pens when the kernel side thread has consumed one or more entries. If
17 the SQ ring is currently non-full, no action is taken.
18
19 This feature can only be used when the ring has been setup with IOR‐
20 ING_SETUP_SQPOLL and hence is using an offloaded approach to request
21 submissions.
22
23
25 On success it returns the free space. If the kernel does not support
26 the feature, -EINVAL is returned.
27
29 io_uring_submit(3), io_uring_wait_cqe(3), io_uring_wait_cqes(3)
30
31
32
33liburing-2.1 January 25, 2022 io_uring_sqring_wait(3)