io_uring: allow non-fixed files with SQPOLL
[linux-2.6-microblaze.git] / include / uapi / linux / io_uring.h
index 98d8e06..2301c37 100644 (file)
@@ -132,6 +132,7 @@ enum {
        IORING_OP_PROVIDE_BUFFERS,
        IORING_OP_REMOVE_BUFFERS,
        IORING_OP_TEE,
+       IORING_OP_SHUTDOWN,
 
        /* this goes last, obviously */
        IORING_OP_LAST,
@@ -253,6 +254,7 @@ struct io_uring_params {
 #define IORING_FEAT_CUR_PERSONALITY    (1U << 4)
 #define IORING_FEAT_FAST_POLL          (1U << 5)
 #define IORING_FEAT_POLL_32BITS        (1U << 6)
+#define IORING_FEAT_SQPOLL_NONFIXED    (1U << 7)
 
 /*
  * io_uring_register(2) opcodes and arguments