From: Jens Axboe Date: Sun, 10 Feb 2019 16:36:48 +0000 (-0700) Subject: io_uring: sync header with the kernel X-Git-Tag: fio-3.14~42 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=6616949337d8409ec0999f2b3ad240ea2d037a82 io_uring: sync header with the kernel Signed-off-by: Jens Axboe --- 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]; }; /*