io_uring: sync header with the kernel
authorJens Axboe <axboe@kernel.dk>
Sun, 10 Feb 2019 16:36:48 +0000 (09:36 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 10 Feb 2019 16:36:48 +0000 (09:36 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/linux/io_uring.h

index b150450254f9bc8f3157b4bcf5b83f23d740155b..24906e99fdc7b3ad27192485afca51328b5101d7 100644 (file)
@@ -11,8 +11,6 @@
 #include <linux/fs.h>
 #include <linux/types.h>
 
 #include <linux/fs.h>
 #include <linux/types.h>
 
-#define IORING_MAX_ENTRIES     4096
-
 /*
  * IO submission data structure (Submission Queue Entry)
  */
 /*
  * IO submission data structure (Submission Queue Entry)
  */
@@ -94,7 +92,8 @@ struct io_sqring_offsets {
        __u32 flags;
        __u32 dropped;
        __u32 array;
        __u32 flags;
        __u32 dropped;
        __u32 array;
-       __u32 resv[3];
+       __u32 resv1;
+       __u64 resv2;
 };
 
 /*
 };
 
 /*
@@ -109,7 +108,7 @@ struct io_cqring_offsets {
        __u32 ring_entries;
        __u32 overflow;
        __u32 cqes;
        __u32 ring_entries;
        __u32 overflow;
        __u32 cqes;
-       __u32 resv[4];
+       __u64 resv[2];
 };
 
 /*
 };
 
 /*