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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: