4 # Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks.
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21 # get standard environment, filters and checks
25 # real QA test starts here
30 # real QA test starts here
31 umount $SCRATCH_DEV 2>/dev/null
32 MKFS_OPTIONS="-bsize=4096"
33 MOUNT_OPTIONS="-o noatime"
34 _scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
37 echo Create some files
41 cp src/itrash.c $SCRATCH_MNT/${I}
46 echo Blat inode clusters
47 src/itrash $SCRATCH_DEV
51 echo Attempting bulkstat
52 #src/bstat -q $SCRATCH_MNT