From 702b0be2fe3b6cf5b3556920edaf0637a33b36e1 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 12 Oct 2021 18:41:14 -0600 Subject: [PATCH] t/io_uring: update for new DMA map buffers API Signed-off-by: Jens Axboe --- t/io_uring.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t/io_uring.c b/t/io_uring.c index 3edb3c34..84960ba9 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -137,7 +137,8 @@ struct io_uring_map_buffers { __s32 fd; __u32 buf_start; __u32 buf_end; - __u32 dir; + __u32 flags; + __u64 rsvd[2]; }; #endif @@ -334,9 +335,7 @@ static int io_uring_map_buffers(struct submitter *s) { struct io_uring_map_buffers map = { .fd = s->files[0].real_fd, - .buf_start = 0, .buf_end = depth, - .dir = 0, }; if (do_nop) -- 2.25.1