2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2020 Facebook All Rights Reserved.
7 # Evicting dirty inodes can take a long time during umount.
8 # Check that a new mount racing with such a delayed umount succeeds.
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
16 status=1 # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
25 # get standard environment, filters and checks
29 # remove previous $seqres.full before test
32 # real QA test starts here
34 # Modify as appropriate.
39 _scratch_mkfs > /dev/null 2>&1
41 for i in $(seq 0 500); do
42 $XFS_IO_PROG -c "pwrite 0 4K" $SCRATCH_MNT/$i >/dev/null 2>&1
48 echo "Silence is golden"