From: kaixuxia <xiakaixu1987@gmail.com>
To: fstests@vger.kernel.org
Cc: linux-xfs@vger.kernel.org, Eryu Guan <guaneryu@gmail.com>,
"Darrick J. Wong" <darrick.wong@oracle.com>,
newtongao@tencent.com, jasperwang@tencent.com
Subject: [PATCH 0/2] xfstests: add deadlock between the AGI and AGF with RENAME_WHITEOUT test
Date: Wed, 11 Sep 2019 21:13:28 +0800 [thread overview]
Message-ID: <d33e4af0-2c81-fcf1-3410-6d5c5fe26eab@gmail.com> (raw)
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
reply other threads:[~2019-09-11 13:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d33e4af0-2c81-fcf1-3410-6d5c5fe26eab@gmail.com \
--to=xiakaixu1987@gmail.com \
--cc=darrick.wong@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=guaneryu@gmail.com \
--cc=jasperwang@tencent.com \
--cc=linux-xfs@vger.kernel.org \
--cc=newtongao@tencent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).