2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
7 # Leaking reservation space in the GRH
9 # This can hang when things aren't working
12 seqres=$RESULT_DIR/$seq
13 echo "QA output created by $seq"
17 status=1 # failure is the default!
18 trap "_cleanup; exit \$status" 0 1 2 3 15
26 # get standard environment, filters and checks
30 # real QA test starts here
32 # Modify as appropriate.
41 logblks=$(_scratch_find_xfs_min_logblocks -l version=2,su=64k)
42 export MKFS_OPTIONS="-l version=2,size=${logblks}b,su=64k"
43 export MOUNT_OPTIONS="-o logbsize=64k"
44 _scratch_mkfs_xfs >/dev/null
50 echo "start freezing and unfreezing"
51 while [ $i -lt $max ]; do
52 xfs_freeze -f $SCRATCH_MNT
53 xfs_freeze -u $SCRATCH_MNT