Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7399

e2fsck repair of ".." entries from LU-5626 should be improved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • 3
    • 9223372036854775807

      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.

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: