--- libev/ev_iouring.c 2019/12/27 21:17:11 1.10 +++ libev/ev_iouring.c 2019/12/27 21:56:29 1.11 @@ -301,6 +301,11 @@ if (errno != EINVAL) return -1; /* we failed */ +#if TODO + if ((~params.features) & (IORING_FEAT_NODROP | IORING_FEATURE_SINGLE_MMAP)) + return -1; /* we require the above features */ +#endif + /* EINVAL: lots of possible reasons, but maybe * it is because we hit the unqueryable hardcoded size limit */ @@ -451,8 +456,8 @@ if (ecb_expect_false (res < 0)) { - //TODO: EINVAL handling (was something failed with this fd) - //TODO: EBUSY happens when? + /*TODO: EINVAL handling (was something failed with this fd)*/ + /*TODO: EBUSY happens when?*/ if (res == -EBADF) {