Skip to content

Commit 9296c2a

Browse files
committed
qa: load all dirfrags before testing altname recovery
The journal reset effectively cleared the cache so the rank may not have the dirfrag in memory when we verify alternate name recovery. Fixes: https://tracker.ceph.com/issues/67511 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 959a4c3 commit 9296c2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qa/tasks/cephfs/test_fscrypt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ def verify_alternate_name():
8383
self.fs.set_joinable()
8484
self.fs.wait_for_daemons()
8585

86+
# load all inodes into cache (may be cleared by journal reset)
87+
self.mount_a.run_shell_payload(f"cd {self.path} && find")
88+
8689
verify_alternate_name()
8790

88-
self.mount_a.run_shell_payload(f"cd {self.path} && find")
8991
self.mount_a.run_shell_payload(f"cd {self.path} && stat {file}")
9092

9193

0 commit comments

Comments
 (0)