mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: fsx IO_URING soak tests
After fsx supports IO_URING read/write, add a test to do IO_URING soak test of fsx. Signed-off-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -1956,6 +1956,22 @@ _require_aiodio()
|
||||
_require_odirect
|
||||
}
|
||||
|
||||
# this test requires that the kernel supports IO_URING
|
||||
_require_io_uring()
|
||||
{
|
||||
$here/src/feature -R
|
||||
case $? in
|
||||
0)
|
||||
;;
|
||||
1)
|
||||
_notrun "kernel does not support IO_URING"
|
||||
;;
|
||||
*)
|
||||
_fail "unexpected error testing for IO_URING support"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# this test requires that a test program exists under src/
|
||||
# $1 - command (require)
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user