From 70eb71e682b90078db6f361936933b88f71ad5fd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 12 Dec 2022 16:57:52 -0700 Subject: [PATCH] t/io_uring: adjust IORING_REGISTER_MAP_BUFFERS value This isn't upstream yet, but current test patches have it at 26. Signed-off-by: Jens Axboe --- t/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/io_uring.c b/t/io_uring.c index edbacee3..1ea0a9da 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -156,7 +156,7 @@ static float plist[] = { 1.0, 5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, static int plist_len = 17; #ifndef IORING_REGISTER_MAP_BUFFERS -#define IORING_REGISTER_MAP_BUFFERS 22 +#define IORING_REGISTER_MAP_BUFFERS 26 struct io_uring_map_buffers { __s32 fd; __u32 buf_start; -- 2.25.1