From 3c5ffc377dc5ecd627f8517532302b4721d9adca Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 4 Mar 2022 08:58:26 -0800 Subject: [PATCH] ZTS: Update fio usage for FreeBSD Signed-off-by: Brian Behlendorf --- tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh index 9258b2568233..065abc75977e 100755 --- a/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh +++ b/tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh @@ -50,9 +50,9 @@ log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS log_must zfs set compression=off $TESTPOOL/$TESTFS log_note "Writing files until ENOSPC." -log_mustnot_expect "No space left on device" fio --name=test --ioengine=libaio \ - --fallocate=none --iodepth=4 --rw=write --bs=1M --size=1G --numjobs=4 \ - --directory=$TESTDIR/ --group_reporting +log_mustnot_expect "No space left on device" fio --name=test \ + --fallocate=none --rw=write --bs=1M --size=1G --numjobs=4 \ + --sync=1 --directory=$TESTDIR/ --group_reporting log_must rm $TESTDIR/test.* log_must test -z "$(ls -A $TESTDIR)"