aboutsummaryrefslogtreecommitdiff
path: root/src/unix/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/loop.c')
-rw-r--r--src/unix/loop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/loop.c b/src/unix/loop.c
index a9468e8e..179ee999 100644
--- a/src/unix/loop.c
+++ b/src/unix/loop.c
@@ -217,6 +217,14 @@ int uv__loop_configure(uv_loop_t* loop, uv_loop_option option, va_list ap) {
return 0;
}
+#if defined(__linux__)
+ if (option == UV_LOOP_USE_IO_URING_SQPOLL) {
+ loop->flags |= UV_LOOP_ENABLE_IO_URING_SQPOLL;
+ return 0;
+ }
+#endif
+
+
if (option != UV_LOOP_BLOCK_SIGNAL)
return UV_ENOSYS;