Open enirolf opened 1 year ago
Actually, it may be ok to build uring support for ROOT, which depends only on the availability of the liburing user space library. When run in a container, it is well possible that the kernel does provide uring after all. So really, I think we need better runtime diagnostics.
Describe the bug
Alma Linux 9 by default does not have
io_uring
support, even though its kernel version is recent enough (5.14). ROOT only checks ifio_uring
is present by checking if theliburing
package is present (in cmake/modules/Findliburing.cmake), but not ifio_uring
is actually supported.Expected behavior
~ROOT should not be able to build with the
uring
option if it is not supported by the kernel~The presence of
io_uring
should be detected at runtime and a warning could be shown if ROOT was build withuring
even thoughio_uring
is not present.To Reproduce
On a AL9 instance with
liburing
installed (dnf install liburing
), runto verify that
io_uring
is indeed not supported. The output should beBuild and install ROOT with
-During=on
. Runto confirm ROOT was in fact built with this option.
Setup
ROOT version: master (but most likely every ROOT version that supports the
uring
option) OS: Alma Linux 9Additional context
A similar issue was opened (and subsequently fixed) in the ZFS repository: https://github.com/openzfs/zfs/issues/13648