From 0e47f11b8342ea702fc7cc27929eb5a79e4597a3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 10 Jan 2019 19:10:03 -0700 Subject: [PATCH] t/io_uring: restore usage of IORING_SETUP_IOPOLL Signed-off-by: Jens Axboe --- t/io_uring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/io_uring.c b/t/io_uring.c index 12591c97..39332c8e 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -324,6 +324,8 @@ static int setup_ring(struct submitter *s) memset(&p, 0, sizeof(p)); + if (polled) + p.flags |= IORING_SETUP_IOPOLL; if (sq_thread_poll) { p.flags |= IORING_SETUP_SQPOLL; if (sq_thread_cpu != -1) -- 2.25.1