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

Fill layout only if the layout lock is granted

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • Lustre 2.7.0, Lustre 2.8.0
    • 3
    • 9223372036854775807

    Description

      In mdt_lvbo_fill(), it should check if the layout lock is granted before filling the layout to the reply, otherwise the layout might be replied to client in both blocking and completion cases, (see ldlm_lockd.c) and client might get stale layout in some cases.

      Attachments

        Issue Links

          Activity

            [LU-6581] Fill layout only if the layout lock is granted

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14726/
            Subject: LU-6581 mdt: Transfer layout only if layout lock is granted
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3111196ece8cece79812c1dd0b065b6148191fde

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14726/ Subject: LU-6581 mdt: Transfer layout only if layout lock is granted Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3111196ece8cece79812c1dd0b065b6148191fde

            wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/14726
            Subject: LU-6581 mdt: Only fill layout if layout lock is granted
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b2f7302b7e30e0700d59b3cbc99c5e4e2587b50d

            gerrit Gerrit Updater added a comment - wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/14726 Subject: LU-6581 mdt: Only fill layout if layout lock is granted Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b2f7302b7e30e0700d59b3cbc99c5e4e2587b50d

            People

              di.wang Di Wang (Inactive)
              di.wang Di Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: