--- libev/ev.c 2019/12/28 07:44:15 1.520 +++ libev/ev.c 2019/12/28 07:47:35 1.521 @@ -3050,7 +3050,7 @@ unsigned int ev_embeddable_backends (void) EV_NOEXCEPT { - int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT; + int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT | EVBACKEND_IOURING; /* epoll embeddability broken on all linux versions up to at least 2.6.23 */ if (ev_linux_version () < 0x020620) /* disable it on linux < 2.6.32 */ @@ -3058,11 +3058,6 @@ /* EVBACKEND_LINUXAIO is theoretically embeddable, but suffers from a performance overhead */ - /* EVBACKEND_IOURING is practically embeddable, but the current implementation is not - * because our backend_fd is the epoll fd we need as fallback. - * if the kernel ever is fixed, this might change... - */ - return flags; }