From 4610fcee939fb6646703285d2da3b47a111d58eb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 Mar 2020 16:36:43 +0000 Subject: [Feature] Update libev to 4.33 Changelog: http://cvs.schmorp.de/libev/Changes?pathrev=rel-4_33 --- src/libserver/cfg_utils.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libserver/cfg_utils.c') diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 7a5da9807..7e04adb97 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -2631,6 +2631,14 @@ rspamd_config_ev_backend_to_string (int ev_backend, gboolean *effective) } if (ev_backend & EVBACKEND_EPOLL) { + if (ev_backend & EVBACKEND_IOURING) { + SET_EFFECTIVE (TRUE); + return "epoll+io_uring"; + } + if (ev_backend & EVBACKEND_LINUXAIO) { + SET_EFFECTIVE (TRUE); + return "epoll+aio"; + } SET_EFFECTIVE (TRUE); return "epoll"; } -- cgit v1.2.3