2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2010 Dave Chinner. All Rights Reserved.
8 # run xfs_fsr over the test filesystem to give it a wide and varied set of
9 # inodes to try to defragment. This is effectively a crash/assert failure
10 # test looking for corruption induced by xfs_fsr runs.
13 _begin_fstest auto fsr ioctl quick
15 # Import common functions.
18 # real QA test starts here
22 [ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
24 xfs_fsr -d -v $TEST_DIR > $seqres.full 2>&1
26 echo "--- silence is golden ---"