]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: stress test cycling parent pointers with online repair v2023.03.19
authorDarrick J. Wong <djwong@kernel.org>
Wed, 15 Mar 2023 00:58:17 +0000 (17:58 -0700)
committerZorro Lang <zlang@kernel.org>
Thu, 16 Mar 2023 06:21:42 +0000 (14:21 +0800)
commit02200cb8853dcd4cb6272126b7f9bc0a83b889c6
treebb76279cb4e30b95a5c47d39353546334ec22eff
parentcaac10c777865c76a3c4d051a1e5790ce3444bdf
xfs: stress test cycling parent pointers with online repair

Add a couple of new tests to exercise directory and parent pointer
repair against rename() calls moving child subdirectories from one
parent to another.  This is a useful test because it turns out that the
VFS doesn't lock the child subdirectory (it does lock the parents), so
repair must be more careful.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy
tests/xfs/799 [new file with mode: 0755]
tests/xfs/799.out [new file with mode: 0644]
tests/xfs/800 [new file with mode: 0755]
tests/xfs/800.out [new file with mode: 0644]