#
#creator
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto rw
-here=`pwd`
-tmp=/tmp/$$
status=0 # success is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+# Override the default cleanup function.
_cleanup()
{
cd /
_scratch_unmount
}
-. ./common/rc
. ./common/filter
threads=50
echo "start the workload"
echo "------------------------------"
-rm -f $seqres.full
-
_scratch_unmount 2>/dev/null
_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
_scratch_mount