[LU-7399] e2fsck repair of ".." entries from LU-5626 should be improved Created: 06/Nov/15  Updated: 26/May/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: e2fsck, e2fsprogs

Issue Links:
Related
is related to LU-5626 Corruption of MDT “..” entry in non-H... Resolved
is related to LU-14710 check_dot() does not handle dirdata/F... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The ".." entry problem caused by LU-5626 could be handled better by e2fsck. Instead of just clobbering the second entry and replacing it with "..", if the second entry is well-formed it should link that name elsewhere into the directory using ext2fs_link() (or ext2fs_dir_link() from LU-7370 if available) before replacing it with "..". The replacement ".." entry would be best copied from the existing ".." entry, if available, to preserve the FID and other dirdata information.



 Comments   
Comment by James A Simmons [ 10/Sep/18 ]

Still of interest?

Generated at Sat Feb 10 02:08:34 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.