Skip to content

Commit

Permalink
ZTS: Update fio usage for FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
  • Loading branch information
behlendorf committed Mar 4, 2022
1 parent 8f93fe3 commit 3c5ffc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/zfs-tests/tests/functional/no_space/enospc_rm.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 3c5ffc3

Please sign in to comment.