1io_uring_cq_has_overflow(3) liburing Manual io_uring_cq_has_overflow(3)
2
3
4
6 io_uring_cq_has_overflow - returns if there are overflow entries wait‐
7 ing to move to the CQ ring
8
10 #include <liburing.h>
11
12 bool io_uring_cq_has_overflow(const struct io_uring *ring);
13
15 The io_uring_cq_has_overflow(3) function informs the application if CQ
16 entries have overflowed and are waiting to be flushed to the CQ ring.
17 For example using io_uring_get_events(3)
18
20 Using this function is only valid if the ring has IORING_FEAT_NODROP
21 set, as it's checking for a flag set by kernels supporting that fea‐
22 ture. For really old kernels that don't support this feature, if CQE
23 overflow is experienced the CQEs are lost. If that happens, the CQ ring
24 overflow offset will get incremented.
25
27 True if there are CQ entries waiting to be flushed to the CQ ring.
28
30 io_uring_get_events(3)
31
32
33
34liburing-2.3 September 5, 2022 io_uring_cq_has_overflow(3)