-
Couldn't load subscription status.
- Fork 475
Description
liburing uses its own version of io_uring.h, copied from the kernel source tree. Using newer versions of liburing with older kernels, IORING_SETUP_* flags may be defined that the kernel system call (io_uring_setup) rejects returning EINVAL. Since the flags are defined, the usual preprocessor directive cannot be used. Is there a more elegant way than executing io_uring_queue_init() twice? That would result in four system calls altogether, because liburing does something similar with IORING_SETUP_NO_SQARRAY internally ...
Technical information: linux-5.10.235, liburing-2.6, the offending flag is IORING_SETUP_SINGLE_ISSUER, introduced in linux-6.0.