Skip to content

Commit

Permalink
ZTS: Disable io_uring test on CentOS 9
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
behlendorf committed Dec 5, 2023
1 parent 687e4d7 commit 0c4f438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/zfs-tests/tests/functional/io/io_uring.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c4f438

Please sign in to comment.