Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • 9223372036854775807

    Description

      The Data-on-MDT locking needs lock convert for IBITS lock to drop conflicting bits instead of lock cancel. The main functionality was done in the context of DoM and only for lock used for Data-on-MDT files.

      Meanwhile it can't be used for all other IBITS lock because of conflicts with ELC. The ELC requires changes to work with lock convert.

      Attachments

        Issue Links

          Activity

            [LU-10175] DoM:Full support for the LDLM lock convert

            Patches have landed for 2.12 for DoM locking.  Additional follow-on work will be created under a separate ticket.

            jgmitter Joseph Gmitter (Inactive) added a comment - Patches have landed for 2.12 for DoM locking.  Additional follow-on work will be created under a separate ticket.

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32314/
            Subject: LU-10175 ldlm: handle lock converts in cancel handler
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 541902a3f934d0e68368d9698cef38d44c473527

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32314/ Subject: LU-10175 ldlm: handle lock converts in cancel handler Project: fs/lustre-release Branch: master Current Patch Set: Commit: 541902a3f934d0e68368d9698cef38d44c473527

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32593/
            Subject: LU-10175 ptlrpc: add LOCK_CONVERT connection flag
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 44a2092f08ca5f349659680b2c19d55d2365c842

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32593/ Subject: LU-10175 ptlrpc: add LOCK_CONVERT connection flag Project: fs/lustre-release Branch: master Current Patch Set: Commit: 44a2092f08ca5f349659680b2c19d55d2365c842

            Mike Pershin (mike.pershin@intel.com) uploaded a new patch: https://review.whamcloud.com/32593
            Subject: LU-10175 ptlrpc: add LOCK_CONVERT connection flag
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: efae969761c5dc27bd481f3f91119fd26a86a31f

            gerrit Gerrit Updater added a comment - Mike Pershin (mike.pershin@intel.com) uploaded a new patch: https://review.whamcloud.com/32593 Subject: LU-10175 ptlrpc: add LOCK_CONVERT connection flag Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: efae969761c5dc27bd481f3f91119fd26a86a31f

            Reopening as there are more patches to land under this umbrella

            jgmitter Joseph Gmitter (Inactive) added a comment - Reopening as there are more patches to land under this umbrella

            Mike Pershin (mike.pershin@intel.com) uploaded a new patch: https://review.whamcloud.com/32314
            Subject: LU-10175 ldlm: handle lock converts in cancel handler
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 00baa72387638913cef71c3037f7894bf0811c6f

            gerrit Gerrit Updater added a comment - Mike Pershin (mike.pershin@intel.com) uploaded a new patch: https://review.whamcloud.com/32314 Subject: LU-10175 ldlm: handle lock converts in cancel handler Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 00baa72387638913cef71c3037f7894bf0811c6f
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30202/
            Subject: LU-10175 ldlm: IBITS lock convert instead of cancel
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 37932c4beb9885593abe63c9e2dc1936648a0b49

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30202/ Subject: LU-10175 ldlm: IBITS lock convert instead of cancel Project: fs/lustre-release Branch: master Current Patch Set: Commit: 37932c4beb9885593abe63c9e2dc1936648a0b49

            Full lock convert is stuck on LU-5216 as I can see. Tests 33-36 in sanity-hsm.sh are failed and test 201 experiences deadlock. Lock convert doesn't change anything related to HSM but LDLM and it looks similar to what LU-5216 says about HSM locking problems.

            tappro Mikhail Pershin added a comment - Full lock convert is stuck on LU-5216 as I can see. Tests 33-36 in sanity-hsm.sh are failed and test 201 experiences deadlock. Lock convert doesn't change anything related to HSM but LDLM and it looks similar to what LU-5216 says about HSM locking problems.

            Full lock convert caused HSM deadlock issues and it seems common HSM problem described in LU-5216.

            tappro Mikhail Pershin added a comment - Full lock convert caused HSM deadlock issues and it seems common HSM problem described in LU-5216 .

            People

              tappro Mikhail Pershin
              tappro Mikhail Pershin
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: