]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/io_uring.h
io_uring: retain top 8bits of uring_cmd flags for kernel internal use
[thirdparty/linux.git] / include / linux / io_uring.h
index 106cdc55ff3bd6f5f199d1af30eb6322a872d504..ae08d6f66e627d57d530ef20337c3311bef5b156 100644 (file)
@@ -22,6 +22,9 @@ enum io_uring_cmd_flags {
        IO_URING_F_IOPOLL               = (1 << 10),
 };
 
+/* only top 8 bits of sqe->uring_cmd_flags for kernel internal use */
+#define IORING_URING_CMD_POLLED                (1U << 31)
+
 struct io_uring_cmd {
        struct file     *file;
        const struct io_uring_sqe *sqe;