summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-10 09:36:48 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-10 09:36:48 -0700
commit6616949337d8409ec0999f2b3ad240ea2d037a82 (patch)
tree95e89bef2a564a610c3d6c0e145189faf29f7323 /os
parent2f75f022393e432210d01b15088f425ee5260340 (diff)
downloadfio-6616949337d8409ec0999f2b3ad240ea2d037a82.tar.gz
fio-6616949337d8409ec0999f2b3ad240ea2d037a82.tar.bz2
io_uring: sync header with the kernel
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os')
-rw-r--r--os/linux/io_uring.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/os/linux/io_uring.h b/os/linux/io_uring.h
index b1504502..24906e99 100644
--- a/os/linux/io_uring.h
+++ b/os/linux/io_uring.h
@@ -11,8 +11,6 @@
#include <linux/fs.h>
#include <linux/types.h>
-#define IORING_MAX_ENTRIES 4096
-
/*
* IO submission data structure (Submission Queue Entry)
*/
@@ -94,7 +92,8 @@ struct io_sqring_offsets {
__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 resv[4];
+ __u64 resv[2];
};
/*