From: Jens Axboe Date: Wed, 13 Oct 2021 00:41:14 +0000 (-0600) Subject: t/io_uring: update for new DMA map buffers API X-Git-Tag: fio-3.29~64 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=702b0be2fe3b6cf5b3556920edaf0637a33b36e1;p=fio.git t/io_uring: update for new DMA map buffers API Signed-off-by: Jens Axboe --- 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)