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

Wrong dotdot FID parameter for osd_add_dot_dotdot()

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0
    • None
    • None
    • 2
    • 9223372036854775807

    Description

      Wrong FID has been passed to osd_add_dot_dotdot() and osd_add_dot_dotdot_internal(). Thus the FID of current directory is saved to ".." entry, not the parent directory.

      Attachments

        Issue Links

          Activity

            [LU-15388] Wrong dotdot FID parameter for osd_add_dot_dotdot()
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/45904/
            Subject: LU-15388 osd-ldiskfs: wrong dot/dotdot FID for local agent
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0688719a51d9c659399439535c5c3f8c66a7b577

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/45904/ Subject: LU-15388 osd-ldiskfs: wrong dot/dotdot FID for local agent Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0688719a51d9c659399439535c5c3f8c66a7b577

            It looks like this also needs a test case and (probably) a fix in LFSCK to repair the FIDs on the agent inodes.

            adilger Andreas Dilger added a comment - It looks like this also needs a test case and (probably) a fix in LFSCK to repair the FIDs on the agent inodes.

            "Li Xi <lixi@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45904
            Subject: LU-15388 osd-ldiskfs: wrong fid for dotdot entry
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: da5791acb2d0c24366cca0954fd3e4640474bf28

            gerrit Gerrit Updater added a comment - "Li Xi <lixi@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45904 Subject: LU-15388 osd-ldiskfs: wrong fid for dotdot entry Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: da5791acb2d0c24366cca0954fd3e4640474bf28

            People

              lixi_wc Li Xi
              lixi_wc Li Xi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: