2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
7 # Test to check bulkstat returns unlinked-but-referenced inodes
8 # (PVs: 972128, 972004)
11 _begin_fstest rw other auto quick
13 # Import common functions.
16 # real QA test starts here
18 # Modify as appropriate.
23 _scratch_mkfs_xfs >/dev/null 2>&1 \
24 || _fail "mkfs failed"
28 # run Mark Goodwin test here
29 # Usage: ./bulkstat_unlink_test iterations nfiles stride dir
30 # Create dir with nfiles, unlink each stride'th file, sync, bulkstat
31 echo "Start original bulkstat_unlink_test with -r switch"
32 $here/src/bulkstat_unlink_test -r 1 100 1 $SCRATCH_MNT/bulkstat