From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f171.google.com ([209.85.210.171]:44740 "EHLO mail-pf1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727302AbfIKNNd (ORCPT ); Wed, 11 Sep 2019 09:13:33 -0400 From: kaixuxia Subject: [PATCH 0/2] xfstests: add deadlock between the AGI and AGF with RENAME_WHITEOUT test Message-ID: Date: Wed, 11 Sep 2019 21:13:28 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: fstests-owner@vger.kernel.org To: fstests@vger.kernel.org Cc: linux-xfs@vger.kernel.org, Eryu Guan , "Darrick J. Wong" , newtongao@tencent.com, jasperwang@tencent.com List-ID: There is ABBA deadlock bug between the AGI and AGF when performing rename() with RENAME_WHITEOUT flag, so add test to check that whether the rename() call works well. This test require a special rename flag, so add support check for if a given rename flag is supported in _requires_renameat2. kaixuxia (2): common: check if a given rename flag is supported in _requires_renameat2 xfs: test the deadlock between the AGI and AGF with RENAME_WHITEOUT common/renameat2 | 41 +++++++++++++++++++++-- tests/generic/024 | 13 ++------ tests/generic/025 | 13 ++------ tests/generic/078 | 13 ++------ tests/xfs/512 | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/xfs/512.out | 2 ++ tests/xfs/group | 1 + 7 files changed, 150 insertions(+), 32 deletions(-) create mode 100755 tests/xfs/512 create mode 100644 tests/xfs/512.out -- 1.8.3.1 -- kaixuxia