2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 17:52:40 +00:00

mainloop: disable IORING_SETUP_SQPOLL for now

It's a bit more complicated to use then I envisioned here.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-08-11 17:46:54 +02:00
parent c9d1f58725
commit 82abff81b6

View File

@@ -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;