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

HSM: Duplicated cookies in "actions"

Details

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

    Description

      Some entries can end up being duplicated in "actions". For instance:

      lrh=[type=10680000 len=136 idx=1/14] fid=[0x200000401:0x10:0x0] dfid=[0x200000401:0x10:0x0] compound/cookie=0x5703ea60/0x5703ea6c action=ARCHIVE archive#=1 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=WAITING data=[]
      lrh=[type=10680000 len=136 idx=1/51633] fid=[0x200000401:0x10:0x0] dfid=[0x200000401:0x10:0x0] compound/cookie=0x5703ea60/0x5703ea6c action=ARCHIVE archive#=1 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=STARTED data=[]
      a
      

      As cdt_llog_lock is taken in mdt_hsm_actions_proc_show(), I think that could be a race between the coordinator/client and the proc_show() function.

      Attachments

        Issue Links

          Activity

            [LU-7986] HSM: Duplicated cookies in "actions"
            mdiep Minh Diep made changes -
            Link New: This issue is related to LU-9312 [ LU-9312 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.9.0 [ 11891 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            Landed to master for 2.9.0

            jgmitter Joseph Gmitter (Inactive) added a comment - Landed to master for 2.9.0

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19447/
            Subject: LU-7986 hsm: update actions llog in place
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 91144acb3dc1120c00797269afa621c94cb64e1e

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19447/ Subject: LU-7986 hsm: update actions llog in place Project: fs/lustre-release Branch: master Current Patch Set: Commit: 91144acb3dc1120c00797269afa621c94cb64e1e

            Frank Zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/19577
            Subject: LU-7986 hsm: update actions llog in place
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e4d96fb6b56a0d40aa721a67351bea6a62db97b9

            gerrit Gerrit Updater added a comment - Frank Zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/19577 Subject: LU-7986 hsm: update actions llog in place Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e4d96fb6b56a0d40aa721a67351bea6a62db97b9
            jhammond John Hammond made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            jhammond John Hammond made changes -
            Assignee Original: WC Triage [ wc-triage ] New: John Hammond [ jhammond ]

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/19447
            Subject: LU-7986 hsm: update actions llog in place
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 54a07389e965a0cba7d246f8a6179591fb4b8798

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/19447 Subject: LU-7986 hsm: update actions llog in place Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 54a07389e965a0cba7d246f8a6179591fb4b8798

            Thanks.

            fzago Frank Zago (Inactive) added a comment - Thanks.
            jhammond John Hammond added a comment -

            Hi Frank,

            I'll push a patch that should address this. I'll push it after returning from LUG.

            jhammond John Hammond added a comment - Hi Frank, I'll push a patch that should address this. I'll push it after returning from LUG.

            People

              jhammond John Hammond
              fzago Frank Zago (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: