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

Concurrent update during file restore can lead to disordered changelog sequence

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In hsm_cdt_request_completed(), upon restore completion, layout lock is returned before associated ChangeLog entry has been created.
      This allows for a timing window where concurrent file updater can take control and create its own ChangeLog out of order (before restore ChangeLog).
      This can puzzle, ChangeLog readers (like RobinHood), and have them think of a wrong file state.

      Attachments

        Activity

          [LU-8808] Concurrent update during file restore can lead to disordered changelog sequence
          pjones Peter Jones added a comment -

          Lanced for 2.10

          pjones Peter Jones added a comment - Lanced for 2.10

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23638/
          Subject: LU-8808 mdt: avoid out of order ChangeLog during restore
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 17ab869d3a37607dbfb2ca8d85ac3549c539f148

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23638/ Subject: LU-8808 mdt: avoid out of order ChangeLog during restore Project: fs/lustre-release Branch: master Current Patch Set: Commit: 17ab869d3a37607dbfb2ca8d85ac3549c539f148

          Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/23638
          Subject: LU-8808 mdt: avoid out of order ChangeLog during restore
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: eadf8006d336433f80c65223b419210a665fffd8

          gerrit Gerrit Updater added a comment - Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/23638 Subject: LU-8808 mdt: avoid out of order ChangeLog during restore Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: eadf8006d336433f80c65223b419210a665fffd8

          People

            bfaccini Bruno Faccini (Inactive)
            bfaccini Bruno Faccini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: