4 # Test blockdev reads in parallel with filesystem reads/writes
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
22 if [ -n "$pid" ]; then
23 kill -TERM $pid 2>/dev/null
32 umount $SCRATCH_MNT 2>/dev/null
35 trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
37 # get standard environment, filters and checks
41 # real QA test starts here
43 _supported_os IRIX Linux
50 umount $SCRATCH_DEV >/dev/null 2>&1
51 echo "*** MKFS ***" >>$seq.full
53 _scratch_mkfs >>$seq.full 2>&1 \
54 || _fail "mkfs failed"
55 _scratch_mount >>$seq.full 2>&1 \
56 || _fail "mount failed"
58 echo "*** test concurrent block/fs access"
60 cat $SCRATCH_DEV >/dev/null &
63 $FSSTRESS_PROG -d $SCRATCH_MNT -p 2 -n 2000 $FSSTRESS_AVOID >>$seq.full