From 6cdce17753a3664484c907ed264e734ed5f3c2d7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 10 Jan 2019 09:32:41 -0700 Subject: Update API - io_uring_sqe added a data field that's passed back at completion - io_uring_sqe added an index field, for fixed buffer locations - io_uring_setup(2) system call added a 'nr_iovecs' field Signed-off-by: Jens Axboe --- test/io_uring-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/io_uring-test.c') diff --git a/test/io_uring-test.c b/test/io_uring-test.c index aaf7e66..caf61ed 100644 --- a/test/io_uring-test.c +++ b/test/io_uring-test.c @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) memset(&p, 0, sizeof(p)); p.flags = IORING_SETUP_IOPOLL; - ret = io_uring_queue_init(QD, &p, NULL, &ring); + ret = io_uring_queue_init(QD, &p, NULL, 0, &ring); if (ret < 0) { fprintf(stderr, "queue_init: %s\n", strerror(-ret)); return 1; -- cgit