<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:32:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-10175] DoM:Full support for the LDLM lock convert</title>
                <link>https://jira.whamcloud.com/browse/LU-10175</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Meanwhile it can&apos;t be used for all other IBITS lock because of conflicts with ELC. The ELC requires changes to work with lock convert.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="39596">LU-10175</key>
            <summary>DoM:Full support for the LDLM lock convert</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="49050">LU-10176</parent>
                                    <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                            <label>DoM2</label>
                    </labels>
                <created>Sun, 4 Sep 2016 15:57:48 +0000</created>
                <updated>Sat, 25 Aug 2018 07:30:00 +0000</updated>
                            <resolved>Wed, 4 Jul 2018 13:05:43 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="182125" author="adilger" created="Wed, 25 Jan 2017 18:45:01 +0000"  >&lt;p&gt;Is it enough to send the lock bits/extent in conflict with the AST to the client when the lock is contended and send the cancelled bits/extent to the server with the cancel?  That way, the client can decide whether to cancel the whole lock (e.g. if idle for a long time), or just the conflicting bits (e.g. if actively in use).  When the client sends an LDLM_CANCEL to the server, if it cancels all the bits/extent then the server drops the whole lock, otherwise it just drops the contending bits/extent, and leaves the same lock on the client.&lt;/p&gt;

&lt;p&gt;When a conflicting extent lock gets an AST, the client would need to decide which &quot;end&quot; of the lock should be cancelled so that it keeps a lock with a single contiguous extent, and not two locks with a hole.&lt;/p&gt;</comment>
                            <comment id="182368" author="tappro" created="Fri, 27 Jan 2017 12:47:50 +0000"  >&lt;p&gt;yes, that is how lock convert works, but ELC cancels locks locally on client and then sends cancels to the server. So if we have lock with several bits plus UPDATE bit and ELC wants to cancel UPDATE bit, then such lock will be cancelled despite other bits. Without ELC, this lock would remain on client until conflict happens on server, then it will get blocking AST and lock_convert which remove only UPDATE bit and keep others. So ELC makes lock_convert useless in many scenarios, especially if there is UPDATE bit set among several others.&lt;/p&gt;

&lt;p&gt;I think ELC may use lock convert instead of local cancel and this will allow us to use lock convert for all ibits, not just for DOM.&lt;/p&gt;</comment>
                            <comment id="183486" author="gerrit" created="Sun, 5 Feb 2017 09:16:43 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25262&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25262&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LDEV-459&lt;/del&gt;&lt;/a&gt; ldlm: selective IBITS lock trying&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 17e7d8556f71d7850cb0940ed98fa8a90ab450b3&lt;/p&gt;</comment>
                            <comment id="183487" author="tappro" created="Sun, 5 Feb 2017 09:21:20 +0000"  >&lt;p&gt;I&apos;ve just pushed a patch for selective lock try, it is needed as part of DOM work but useful also alone for better IBITS combining. I&apos;d add it prior lock convert code for less conflicts and for better lock convert utilization.&lt;/p&gt;</comment>
                            <comment id="183915" author="gerrit" created="Wed, 8 Feb 2017 11:06:54 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25322&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25322&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LDEV-459&lt;/del&gt;&lt;/a&gt; ldlm: IBITS lock convert instead of cancel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4625cd0b5dbd4f41280dc7fa8ac6c407d540bd91&lt;/p&gt;</comment>
                            <comment id="183916" author="tappro" created="Wed, 8 Feb 2017 11:09:29 +0000"  >&lt;p&gt;commit IBITS lock convert patch from Data-on-MDT series to the master branch for testing purposes. It has no ELC workaround yet, just adapted to be used without DoM but with previous patch for selective lock trying.&lt;/p&gt;</comment>
                            <comment id="214371" author="gerrit" created="Tue, 21 Nov 2017 20:49:05 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30202&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30202&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: IBITS lock convert instead of cancel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 522b25a09e57bec0453660898e374ca33e496fd5&lt;/p&gt;</comment>
                            <comment id="216040" author="gerrit" created="Tue, 12 Dec 2017 11:47:30 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30491&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30491&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: remove obsoleted lock convert code&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 19c844d546cbb227356f50bdb2444f1cfbd8fbaa&lt;/p&gt;</comment>
                            <comment id="218732" author="gerrit" created="Sat, 20 Jan 2018 06:19:27 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30491/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30491/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: remove obsoleted lock convert code&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ebba68f378f72107fa51a8002369d1acef7dbedd&lt;/p&gt;</comment>
                            <comment id="218769" author="tappro" created="Sun, 21 Jan 2018 07:54:10 +0000"  >&lt;p&gt;Full lock convert caused HSM deadlock issues and it seems common HSM problem described in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt;. &lt;/p&gt;</comment>
                            <comment id="218793" author="tappro" created="Mon, 22 Jan 2018 13:01:35 +0000"  >&lt;p&gt;Full lock convert is stuck on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt; as I can see. Tests 33-36 in sanity-hsm.sh are failed and test 201 experiences deadlock. Lock convert doesn&apos;t change anything related to HSM but LDLM and it looks similar to what &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt; says about HSM locking problems.&lt;/p&gt;</comment>
                            <comment id="227388" author="gerrit" created="Sun, 6 May 2018 03:57:38 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30202/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30202/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: IBITS lock convert instead of cancel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 37932c4beb9885593abe63c9e2dc1936648a0b49&lt;/p&gt;</comment>
                            <comment id="227403" author="pjones" created="Sun, 6 May 2018 04:32:58 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                            <comment id="227457" author="gerrit" created="Mon, 7 May 2018 20:42:17 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32314&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32314&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: handle lock converts in cancel handler&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 00baa72387638913cef71c3037f7894bf0811c6f&lt;/p&gt;</comment>
                            <comment id="227461" author="jgmitter" created="Mon, 7 May 2018 21:22:34 +0000"  >&lt;p&gt;Reopening as there are more patches to land under this umbrella&lt;/p&gt;</comment>
                            <comment id="228921" author="gerrit" created="Thu, 31 May 2018 16:39:48 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32593&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32593&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ptlrpc: add LOCK_CONVERT connection flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: efae969761c5dc27bd481f3f91119fd26a86a31f&lt;/p&gt;</comment>
                            <comment id="229548" author="gerrit" created="Thu, 14 Jun 2018 03:56:54 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32593/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32593/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ptlrpc: add LOCK_CONVERT connection flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 44a2092f08ca5f349659680b2c19d55d2365c842&lt;/p&gt;</comment>
                            <comment id="229884" author="gerrit" created="Tue, 3 Jul 2018 18:05:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32314/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32314/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10175&quot; title=&quot;DoM:Full support for the LDLM lock convert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10175&quot;&gt;&lt;del&gt;LU-10175&lt;/del&gt;&lt;/a&gt; ldlm: handle lock converts in cancel handler&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 541902a3f934d0e68368d9698cef38d44c473527&lt;/p&gt;</comment>
                            <comment id="229927" author="jgmitter" created="Wed, 4 Jul 2018 13:05:43 +0000"  >&lt;p&gt;Patches have landed for 2.12 for DoM locking. &#160;Additional follow-on work will be created under a separate ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="25192">LU-5216</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="45304">LU-9293</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18725">LU-3285</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="53121">LU-11284</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52127">LU-11002</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="44319">LU-9184</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzynd3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>