From 6616949337d8409ec0999f2b3ad240ea2d037a82 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 10 Feb 2019 09:36:48 -0700 Subject: [PATCH] io_uring: sync header with the kernel Signed-off-by: Jens Axboe --- os/linux/io_uring.h | 7 +++---- 1 file 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 #include -#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]; }; /* -- 2.25.1