summaryrefslogtreecommitdiff
path: root/src/io_uring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_uring.h')
-rw-r--r--src/io_uring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io_uring.h b/src/io_uring.h
index 57b8f4d..43ecbc1 100644
--- a/src/io_uring.h
+++ b/src/io_uring.h
@@ -38,6 +38,7 @@ struct io_uring_sqe {
* sqe->flags
*/
#define IOSQE_FIXED_FILE (1U << 0) /* use fixed fileset */
+#define IOSQE_IO_DRAIN (1U << 1)
/*
* io_uring_setup() flags
@@ -59,7 +60,6 @@ struct io_uring_sqe {
* sqe->fsync_flags
*/
#define IORING_FSYNC_DATASYNC (1U << 0)
-#define IORING_FSYNC_BARRIER (1U << 1)
/*
* IO completion data structure (Completion Queue Entry)