summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-30 09:06:41 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-30 09:06:41 -0700
commit877a2ab1a77c5f38b276067b0f9298920ada882e (patch)
tree06556718582d3e439a0ee151efd7c1c08597932f
parent67b945ed5a8db4be69a6a1a4fdc4b404d450d379 (diff)
downloadliburing-877a2ab1a77c5f38b276067b0f9298920ada882e.tar.gz
liburing-877a2ab1a77c5f38b276067b0f9298920ada882e.tar.bz2
Sync io_uring.h with 5.6-rc
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--src/include/liburing/io_uring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index e3f3257..3f7961c 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -43,7 +43,7 @@ struct io_uring_sqe {
struct {
/* index into fixed buffers, if used */
__u16 buf_index;
- /* personality to use */
+ /* personality to use, if used */
__u16 personality;
};
__u64 __pad2[3];
@@ -112,6 +112,7 @@ enum {
IORING_OP_SEND,
IORING_OP_RECV,
IORING_OP_OPENAT2,
+ IORING_OP_EPOLL_CTL,
/* this goes last, obviously */
IORING_OP_LAST,
@@ -202,6 +203,7 @@ struct io_uring_params {
#define IORING_FEAT_NODROP (1U << 1)
#define IORING_FEAT_SUBMIT_STABLE (1U << 2)
#define IORING_FEAT_RW_CUR_POS (1U << 3)
+#define IORING_FEAT_CUR_PERSONALITY (1U << 4)
/*
* io_uring_register(2) opcodes and arguments