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

Suspicious assert check in ldlm_cli_cancel

Details

    • 3
    • 9223372036854775807

    Description

      The assert in ldlm_cli_cancel() seems to be problematic:

              /* Even if the lock is marked as LDLM_FL_BL_AST, this is a LDLM_CANCEL  
               * RPC which goes to canceld portal, so we can cancel other LRU locks   
               * here and send them all as one LDLM_CANCEL RPC. */                    
              LASSERT(list_empty(&lock->l_bl_ast));                                   
              list_add(&lock->l_bl_ast, &cancels);  
      

      because the lock may have been picked up LRU and added into canceling list.

      Attachments

        Issue Links

          Activity

            [LU-9997] Suspicious assert check in ldlm_cli_cancel
            mdiep Minh Diep made changes -
            Labels Original: LTS

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30339/
            Subject: LU-9997 ldlm: check lock cancellation in ldlm_cli_cancel()
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 5de61ac6736ed1bfd7425bab4b2c5f7319f65d8e

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30339/ Subject: LU-9997 ldlm: check lock cancellation in ldlm_cli_cancel() Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 5de61ac6736ed1bfd7425bab4b2c5f7319f65d8e
            mdiep Minh Diep made changes -
            Fix Version/s New: Lustre 2.10.3 [ 13591 ]
            Fix Version/s Original: Lustre 2.10.2 [ 13494 ]
            mdiep Minh Diep made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            mdiep Minh Diep added a comment -

            Landed in Lustre 2.11.0

            mdiep Minh Diep added a comment - Landed in Lustre 2.11.0
            mdiep Minh Diep made changes -
            Fix Version/s New: Lustre 2.10.2 [ 13494 ]

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30339
            Subject: LU-9997 ldlm: check lock cancellation in ldlm_cli_cancel()
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 79ca91495ca315ed2a955e60fad7eaf53fafc0f9

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30339 Subject: LU-9997 ldlm: check lock cancellation in ldlm_cli_cancel() Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 79ca91495ca315ed2a955e60fad7eaf53fafc0f9
            mdiep Minh Diep made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            mdiep Minh Diep made changes -
            Labels New: LTS
            jamesanunez James Nunez (Inactive) made changes -
            Link New: This issue is related to LU-10293 [ LU-10293 ]

            People

              jay Jinshan Xiong (Inactive)
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: