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:
Nathan Scott
2005-12-09 02:52:22 +00:00
parent 6449a993f2
commit de6d86177f
36 changed files with 297 additions and 231 deletions
+4 -4
View File
@@ -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