The sanityn.sh version of fsx in test_16 provides useful test
coverage because it is running an IO load that is doing unaligned
file access from multiple clients (mountpoints) and also verifying
data correctness. This has exposed several bugs in the orion branch,
and should also be enabled by default for all landings on master.
A longer version of the test is run in sanity-benchmark.sh for
better test coverage. Check that fsx completes successfully,
otherwise it may fail without reporting an error to the test
framework.
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I26dd91cacc2596f6e84f4c32362befa1e339cab0
Reviewed-on: http://review.whamcloud.com/2007
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
FSX_SEED=${FSX_SEED:-$RANDOM}
rm -f $testfile
$LFS setstripe -c -1 $testfile
- echo Using FSX_SEED=$FSX_SEED FSX_SIZE=$FSX_SIZE FSX_COUNT=$FSX_COUNT
- fsx -c 50 -p 1000 -S $FSX_SEED -P $TMP -l $FSX_SIZE \
- -N $(($FSX_COUNT * 100)) $testfile
+ CMD="fsx -c 50 -p 1000 -S $FSX_SEED -P $TMP -l $FSX_SIZE \
+ -N $((FSX_COUNT * 100)) $testfile"
+ echo "Using: $CMD"
+ $CMD || error "fsx failed"
rm -f $testfile
$DEBUG_ON
}
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
init_logging
-[ "$SLOW" = "no" ] && EXCEPT_SLOW="12 16 23 33a"
+[ "$SLOW" = "no" ] && EXCEPT_SLOW="12 23 33a"
FAIL_ON_ERROR=false