Skip to contentSkip to conversation

xfstests: add deadlock between the AGI and AGF with RENAME_WHITEOUT test

PATCH Superseded kaixuxia 1 participant 1 message Sep 18, 2019

lore
Share & tools
lore

kaixuxia

author
#0 lore raw

v3 cover xfstests: add deadlock between the AGI and AGF with RENAME_WHITEOUT test

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  | 30 ++++++++++++++++-
 tests/generic/024 | 13 ++------
 tests/generic/025 | 13 ++------
 tests/generic/078 | 13 ++------
 tests/xfs/512     | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/512.out |  2 ++
 tests/xfs/group   |  1 +
 7 files changed, 137 insertions(+), 31 deletions(-)
 create mode 100755 tests/xfs/512
 create mode 100644 tests/xfs/512.out
Signature · 4 lines
1.8.3.1

-- 
kaixuxia