Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • Lustre 2.11.0
    • 9223372036854775807

    Description

      MDT should update PFID information to OST objects after layout swap, split, and merge. However, a protocol should be defined to make this correct. Fanyong proposed to use synchronous OUT setxattr. However, I tend to think it would be better to use llog as SETATTR and DESTROY RPC.

      This problem has been existing for really long time since Lustre 2.4. LFSCK could fix this problem but it's better to have a mechanism to solve this kind of problem because there will be more and more similar problems.

      Attachments

        1. lctl_lfsck_layout.out
          0.8 kB
        2. lctl_oi_scrub.out
          1 kB
        3. lfsck_2017-12-06-n.err
          2 kB
        4. lfsck_2017-12-06-n.log.gz
          29.55 MB
        5. lfsck_2017-12-06-n.status
          1.0 kB
        6. lfsck_2017-12-06-n.txt
          0.7 kB

        Issue Links

          Activity

            [LU-10248] Need to update PFID of OST objects after layout change

            If the work on #30635 is complete, can we land it to b2_10?

            jaylan Jay Lan (Inactive) added a comment - If the work on #30635 is complete, can we land it to b2_10?

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30635
            Subject: LU-10248 mdd: set PFID for swap and merge layout
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 8d034f5aa4794d4dcd761b3e5ba2537995cb4e5d

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30635 Subject: LU-10248 mdd: set PFID for swap and merge layout Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 8d034f5aa4794d4dcd761b3e5ba2537995cb4e5d
            pjones Peter Jones added a comment -

            Is this task complete with the recent landing to master?

            pjones Peter Jones added a comment - Is this task complete with the recent landing to master?

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30292/
            Subject: LU-10248 mdd: set PFID for swap and merge layout
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4d534365ab214e28452c54fd2e0d4781e2f290d6

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30292/ Subject: LU-10248 mdd: set PFID for swap and merge layout Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4d534365ab214e28452c54fd2e0d4781e2f290d6

            LU-10349 created for NASA-specific debugging efforts

            ndauchy Nathan Dauchy (Inactive) added a comment - LU-10349 created for NASA-specific debugging efforts
            pjones Peter Jones added a comment -

            It really seems like it would be better to transfer the NASA discussion to its own ticket rather than tacking on the end of this ticket to track part of the FLR implementation.

            pjones Peter Jones added a comment - It really seems like it would be better to transfer the NASA discussion to its own ticket rather than tacking on the end of this ticket to track part of the FLR implementation.

            ndauchy, what is your Lustre version?

            yong.fan nasf (Inactive) added a comment - ndauchy , what is your Lustre version?

            People

              wc-triage WC Triage
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: