mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
QA test updates - fixes for pquota, extsize, fsstress, and ensure mount options passed through to test_dev.
Merge of master-melb:xfs-cmds:24763a by kenmcd.
This commit is contained in:
@@ -35,7 +35,7 @@ _create_scratch()
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
_fill_scratch()
|
||||
{
|
||||
$XFS_IO_PROG -f -c "resvsp 0 ${1}" $SCRATCH_MNT/resvfile
|
||||
@@ -46,7 +46,7 @@ _stress_scratch()
|
||||
procs=3
|
||||
nops=1000
|
||||
# -w ensures that the only ops are ones which cause write I/O
|
||||
ltp/fsstress -d $SCRATCH_MNT -w -p $procs -n $nops $FSSTRESS_AVOID &
|
||||
$FSSTRESS_PROG -d $SCRATCH_MNT -w -p $procs -n $nops $FSSTRESS_AVOID &
|
||||
}
|
||||
|
||||
# real QA test starts here
|
||||
@@ -71,10 +71,10 @@ fillsize=`expr 110 \* 1048576` # 110 megabytes of filling
|
||||
echo "*** using some initial space on scratch filesystem"
|
||||
_fill_scratch $fillsize
|
||||
|
||||
#
|
||||
#
|
||||
# Grow the filesystem while actively stressing it...
|
||||
# Kick off more stress threads on each iteration, grow; repeat.
|
||||
#
|
||||
#
|
||||
while [ $size -le $endsize ]; do
|
||||
echo "*** stressing a ${size} byte filesystem"
|
||||
echo "*** stressing a ${sizeb} block filesystem" >> $seq.full
|
||||
|
||||
Reference in New Issue
Block a user