<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:13:24 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-14859] cancel client DLM locks from the server</title>
                <link>https://jira.whamcloud.com/browse/LU-14859</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Similar to &quot;&lt;tt&gt;lctl set_param ldlm.namespaces.&amp;#42;.lru_size=clear&lt;/tt&gt;&quot; on the client cancelling all of the DLM locks for a particular namespace, it would be useful to be able to cancel some or all of the outstanding DLM locks from the server as well.&lt;/p&gt;

&lt;p&gt;Using &quot;&lt;tt&gt;lru_size=clear&lt;/tt&gt;&quot; currently doesn&apos;t do anything, because the server doesn&apos;t keep any of the shadow locks in the LRU.  One reasonable option is to allow &lt;tt&gt;lock_count=0&lt;/tt&gt; and/or &lt;tt&gt;resource_count=0&lt;/tt&gt; to cancel all of the locks from the server.&lt;/p&gt;

&lt;p&gt;For efficiency, it would be desirable to initially try to cancel the locks in a batch, e.g. sending a single blocking/glimpse callback RPC on a &quot;magic&quot; resource ID like &lt;tt&gt;0:0:0.0&lt;/tt&gt; with the number of locks to be cancelled, which would generate one or more ELC cancel RPCs with many DLM locks.  I &lt;em&gt;thought&lt;/em&gt; that was implemented as part of patch &lt;a href=&quot;http://review.whamcloud.com/14931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14931&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6529&quot; title=&quot;Server side lock limits to avoid unnecessary memory exhaustion&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6529&quot;&gt;&lt;del&gt;LU-6529&lt;/del&gt;&lt;/a&gt; ldlm: reclaim granted locks defensively&lt;/tt&gt;&quot;, but it appears that patch is just randomly sending out callbacks on specific locks.  Afterward, the individual remaining locks would get a callback.&lt;/p&gt;</description>
                <environment></environment>
        <key id="65258">LU-14859</key>
            <summary>cancel client DLM locks from the server</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Jul 2021 22:22:36 +0000</created>
                <updated>Mon, 6 Mar 2023 17:50:16 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="29728">LU-6529</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="65257">LU-14858</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|i01zhr:</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>