t/io_uring: change map buffers registration opcode
authorJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 15:59:22 +0000 (08:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 15:59:22 +0000 (08:59 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c

index b8fcffe88cdb151cb2cec9dd8e40a45da7b55097..8cf338584c9a823ba60ca24012fcf49d980e2442 100644 (file)
@@ -139,7 +139,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    20
+#define IORING_REGISTER_MAP_BUFFERS    22
 struct io_uring_map_buffers {
        __s32   fd;
        __u32   buf_start;