4 # unwritten extent conversion test
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
19 status=1 # failure is the default!
20 trap "_cleanup; exit \$status" 0 1 2 3 15
24 killall -q -TERM fsstress 2> /dev/null
32 $FSSTRESS_PROG -d $SCRATCH_MNT -p $procs -n $nops $FSSTRESS_AVOID \
37 # get standard environment, filters and checks
41 # real QA test starts here
47 _scratch_mkfs_xfs >/dev/null 2>&1
50 TEST_FILE=$SCRATCH_MNT/test_file
51 TEST_PROG=$here/src/unwritten_sync
54 echo "*** test unwritten extent conversion under heavy I/O"
59 $TEST_PROG $LOOPS $TEST_FILE
60 killall -q -TERM fsstress 2> /dev/null