Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6361 LFSCK 4: improve LFSCK performance
  3. LU-6350

LFSCK 4: lock the MDT-object based on prediction for preparing bad linkEA

Details

    • Technical task
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • None
    • None
    • 17772

    Description

      Currently, when the namespace LFSCK verifies the object's linkEA, it will check the linkEA without ldlm/dt lock firstly, if finds inconsistency, it will acquire the ldlm/dt lock on the object, then re-check the linkEA, if still invalid, it will repair the bad linkEA. For the system containing many inconsistent objects, such double-check mechanism is inefficient.

      Be as some improvement, the LFSCK can make some prediction, for example: if former object contains bad linkEA, then when verifies current object, the namespace LFSCK can acquire the ldlm/dt lock on the object in advance; if the prediction is wrong, it will NOT take ldlm/dt lock in advance for next object.

      Attachments

        Activity

          [LU-6350] LFSCK 4: lock the MDT-object based on prediction for preparing bad linkEA

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14008/
          Subject: LU-6350 lfsck: lock object based on prediction for bad linkEA
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: ad40feaee4f58399da8a048fa5342700b8aebc6c

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14008/ Subject: LU-6350 lfsck: lock object based on prediction for bad linkEA Project: fs/lustre-release Branch: master Current Patch Set: Commit: ad40feaee4f58399da8a048fa5342700b8aebc6c

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/14008
          Subject: LU-6350 lfsck: lock object based on prediction for bad linkEA
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: df06416b562b05423522e1eee795906ad25064dc

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/14008 Subject: LU-6350 lfsck: lock object based on prediction for bad linkEA Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: df06416b562b05423522e1eee795906ad25064dc

          People

            yong.fan nasf (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: