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
25 sync # ensures all fsstress processes died
33 $FSSTRESS_PROG -d $SCRATCH_MNT -p $procs -n $nops $FSSTRESS_AVOID \
38 # get standard environment, filters and checks
42 # real QA test starts here
48 _scratch_mkfs_xfs >/dev/null 2>&1
51 TEST_FILE=$SCRATCH_MNT/test_file
52 TEST_PROG=$here/src/unwritten_sync
55 echo "*** test unwritten extent conversion under heavy I/O"
60 $TEST_PROG $LOOPS $TEST_FILE