2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2019 Tencent. All Rights Reserved.
8 # bc56ad8c74b8: ("xfs: Fix deadlock between AGI and AGF with RENAME_WHITEOUT")
11 _begin_fstest auto rename
13 # Import common functions.
17 # real QA test starts here
20 _require_renameat2 whiteout
22 _scratch_mkfs > $seqres.full 2>&1 || _fail "mkfs failed"
23 _scratch_mount >> $seqres.full 2>&1
25 # start a create and rename(rename_whiteout) workload. These processes
26 # occur simultaneously may cause the deadlock between AGI and AGF with
28 $FSSTRESS_PROG -z -n 150 -p 100 \
31 -d $SCRATCH_MNT/fsstress >> $seqres.full 2>&1
33 echo Silence is golden
35 # Failure comes in the form of a deadlock.