From 0c4f4384499f089da54ef6a8c1169e144ae6194f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 5 Dec 2023 14:38:24 -0800 Subject: [PATCH] ZTS: Disable io_uring test on CentOS 9 The io_uring test fails on CentOS 9 with the following fio error. Disable the test for the benefit of the CI until this can be fully investigated. This basic tests passed as expected on newer kernels. Signed-off-by: Brian Behlendorf --- tests/zfs-tests/tests/functional/io/io_uring.ksh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/zfs-tests/tests/functional/io/io_uring.ksh b/tests/zfs-tests/tests/functional/io/io_uring.ksh index 47e439d0f4d5..c62c58ec52aa 100755 --- a/tests/zfs-tests/tests/functional/io/io_uring.ksh +++ b/tests/zfs-tests/tests/functional/io/io_uring.ksh @@ -44,6 +44,11 @@ if ! $(grep -q "CONFIG_IO_URING=y" /boot/config-$(uname -r)); then log_unsupported "Requires io_uring support" fi +# Disabled for the CentOS 9 kernel +if [[ $(linux_version) -eq $(linux_version "5.14") ]]; then + log_unsupported "Disabled on CentOS 9, fails with 'Operation not permitted'" +fi + fio --ioengine=io_uring --parse-only || log_unsupported "fio io_uring support required" function cleanup