io_uring: sync with kernel
[fio.git] / engines / io_uring.c
index c759ec19fc86d6ac80cdbcc6c43f5723d77b882c..5279b1d0ffb7d38ba9ceb144b99ba26dd690574d 100644 (file)
@@ -340,7 +340,8 @@ static int fio_ioring_commit(struct thread_data *td)
 
                read_barrier();
                if (*ring->flags & IORING_SQ_NEED_WAKEUP)
-                       io_uring_enter(ld, ld->queued, 0, 0);
+                       io_uring_enter(ld, ld->queued, 0,
+                                       IORING_ENTER_SQ_WAKEUP);
                ld->queued = 0;
                return 0;
        }