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

Fill layout only if the layout lock is granted

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: