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

Cancel locks in ELC list when errors occurs

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In MDC layer, if it fails when get SELinux policy info, it should cancel all previous locks in the ELC list.

      Attachments

        Issue Links

          Activity

            [LU-13095] Cancel locks in ELC list when errors occurs

            Right, that is what I was thinking.

            tappro Mikhail Pershin added a comment - Right, that is what I was thinking.
            qian_wc Qian Yingjin added a comment -

            In mdc_resource_get_unused_res, we add the lock refcount in the cancel list, but when errors occurs (failed to get SELinux policy), it does not put the lock refcount...

            qian_wc Qian Yingjin added a comment - In mdc_resource_get_unused_res, we add the lock refcount in the cancel list, but when errors occurs (failed to get SELinux policy), it does not put the lock refcount...

            Could you explain what problems appeared due to this issue? Is it lock timeouts on server and client eviction or lost lock references on client?

            tappro Mikhail Pershin added a comment - Could you explain what problems appeared due to this issue? Is it lock timeouts on server and client eviction or lost lock references on client?

            Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/37078
            Subject: LU-13095 mdc: cancel locks in ELC list when errors occurs
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 76a5fe64baef553c9c6b38b1b644838d1bb4fc41

            gerrit Gerrit Updater added a comment - Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/37078 Subject: LU-13095 mdc: cancel locks in ELC list when errors occurs Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 76a5fe64baef553c9c6b38b1b644838d1bb4fc41

            People

              qian_wc Qian Yingjin
              qian_wc Qian Yingjin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: