Skip to content

Commit 8ad73bf

Browse files
authored
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 test passes as expected on newer kernels. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #15636
1 parent e53e60c commit 8ad73bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/zfs-tests/tests/functional/io/io_uring.ksh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ if ! $(grep -q "CONFIG_IO_URING=y" /boot/config-$(uname -r)); then
4444
log_unsupported "Requires io_uring support"
4545
fi
4646

47+
if [ -e /etc/os-release ] ; then
48+
source /etc/os-release
49+
if [ -n "$REDHAT_SUPPORT_PRODUCT_VERSION" ] && ((floor($REDHAT_SUPPORT_PRODUCT_VERSION) == 9)) ; then
50+
log_unsupported "Disabled on CentOS 9, fails with 'Operation not permitted'"
51+
fi
52+
fi
53+
4754
fio --ioengine=io_uring --parse-only || log_unsupported "fio io_uring support required"
4855

4956
function cleanup

0 commit comments

Comments
 (0)