From 82abff81b61cc3d569d8965112738e77e7fc30b6 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 11 Aug 2021 17:46:54 +0200 Subject: [PATCH] mainloop: disable IORING_SETUP_SQPOLL for now It's a bit more complicated to use then I envisioned here. Signed-off-by: Christian Brauner --- src/lxc/mainloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/mainloop.c b/src/lxc/mainloop.c index 473946de8..9dd56bd30 100644 --- a/src/lxc/mainloop.c +++ b/src/lxc/mainloop.c @@ -128,7 +128,7 @@ static inline int __io_uring_open(struct lxc_async_descr *descr) if (descr->ring == MAP_FAILED) return syserror("Failed to mmap io_uring memory"); - ret = io_uring_queue_init(512, descr->ring, IORING_SETUP_SQPOLL); + ret = io_uring_queue_init(512, descr->ring, 0); if (ret) { SYSERROR("Failed to initialize io_uring instance"); goto on_error; -- 2.47.2