summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-01-26 15:44:27 -0700
committerJens Axboe <axboe@kernel.dk>2021-01-26 15:44:27 -0700
commit00c2056c3fa05383539bae1a9b4a136fda90db52 (patch)
tree094daa5b9e559d5e206f9e759ea7285859b706a6
parent17dd76d3a81dea5870a40b44c94a3d669c04b987 (diff)
downloadliburing-00c2056c3fa05383539bae1a9b4a136fda90db52.tar.gz
liburing-00c2056c3fa05383539bae1a9b4a136fda90db52.tar.bz2
io_uring.h: 5.12 pending kernel sync
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--src/include/liburing/io_uring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 0bb55b0..1d47389 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -141,6 +141,7 @@ enum {
IORING_OP_SHUTDOWN,
IORING_OP_RENAMEAT,
IORING_OP_UNLINKAT,
+ IORING_OP_MKDIRAT,
/* this goes last, obviously */
IORING_OP_LAST,
@@ -295,6 +296,9 @@ struct io_uring_files_update {
__aligned_u64 /* __s32 * */ fds;
};
+/* Skip updating fd indexes set to this value in the fd table */
+#define IORING_REGISTER_FILES_SKIP (-2)
+
#define IO_URING_OP_SUPPORTED (1U << 0)
struct io_uring_probe_op {