t/io_uring: adjust IORING_REGISTER_MAP_BUFFERS value
authorJens Axboe <axboe@kernel.dk>
Mon, 12 Dec 2022 23:57:52 +0000 (16:57 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Dec 2022 23:58:32 +0000 (16:58 -0700)
This isn't upstream yet, but current test patches have it at 26.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c

index edbacee3fc9fe93b39c65e00044b5f76ae237a5f..1ea0a9da29b6444ab66d9794940677c5e87f2475 100644 (file)
@@ -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;