<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:45:56 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-11672] improving lru_max_age policy when lru resize is disabled</title>
                <link>https://jira.whamcloud.com/browse/LU-11672</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;currently lru_max_age only works when lru is enabled. &lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;applied https://review.whamcloud.com/33371 otherwise we can&apos;t contorl number of locks correclty

# lctl set_param ldlm.namespaces.*.lru_max_age=60000

# lctl get_param ldlm.namespaces.*.lock_count
ldlm.namespaces.MGC10.0.11.78@o2ib10.lock_count=4
ldlm.namespaces.fls-MDT0000-mdc-ffff8cd7f7b25800.lock_count=1
ldlm.namespaces.fls-OST0000-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0001-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0002-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0003-osc-ffff8cd7f7b25800.lock_count=0

# ls -lR /fls/ost0/

# lctl get_param ldlm.namespaces.*.lock_count
ldlm.namespaces.MGC10.0.11.78@o2ib10.lock_count=4
ldlm.namespaces.fls-MDT0000-mdc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0000-osc-ffff8cd7f7b25800.lock_count=3199
ldlm.namespaces.fls-OST0001-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0002-osc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0003-osc-ffff8cd7f7b25800.lock_count=0

wait 120 sec

# lctl get_param ldlm.namespaces.*.lock_count
ldlm.namespaces.MGC10.0.11.78@o2ib10.lock_count=4
ldlm.namespaces.fls-MDT0000-mdc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0000-osc-ffff8cd7f7b25800.lock_count=3199
ldlm.namespaces.fls-OST0001-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0002-osc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0003-osc-ffff8cd7f7b25800.lock_count=0

no cancel locks even time exceeds more than lru_max_age, but cancel when client access an file.

# ls -l /fls/ost0/o0/d110838
-rw-r--r-- 1 root root 67108864 Oct 22 13:51 /fls/ost0/o0/d110838
# lctl get_param ldlm.namespaces.*.lock_count
ldlm.namespaces.MGC10.0.11.78@o2ib10.lock_count=4
ldlm.namespaces.fls-MDT0000-mdc-ffff8cd7f7b25800.lock_count=2072
ldlm.namespaces.fls-OST0000-osc-ffff8cd7f7b25800.lock_count=2792
ldlm.namespaces.fls-OST0001-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0002-osc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0003-osc-ffff8cd7f7b25800.lock_count=0

# ls -l /fls/ost0/o0/d111531
-rw-r--r-- 1 root root 67108864 Oct 22 13:53 /fls/ost0/o0/d111531
# lctl get_param ldlm.namespaces.*.lock_count
ldlm.namespaces.MGC10.0.11.78@o2ib10.lock_count=4
ldlm.namespaces.fls-MDT0000-mdc-ffff8cd7f7b25800.lock_count=1696
ldlm.namespaces.fls-OST0000-osc-ffff8cd7f7b25800.lock_count=2385
ldlm.namespaces.fls-OST0001-osc-ffff8cd7f7b25800.lock_count=0
ldlm.namespaces.fls-OST0002-osc-ffff8cd7f7b25800.lock_count=3200
ldlm.namespaces.fls-OST0003-osc-ffff8cd7f7b25800.lock_count=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;lru_max_age should behave same as enabling lru resize. at the end, regardless enabling or disabling lru resize meaning once it gets lru_max_age, locks need to be cancelled At the end, lru_size is like hard limit of number of locks, but still cancel locks by lru_max_age.&lt;/p&gt;</description>
                <environment>2.11.56</environment>
        <key id="54042">LU-11672</key>
            <summary>improving lru_max_age policy when lru resize is disabled</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <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="guzheng">Gu Zheng</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Nov 2018 18:47:38 +0000</created>
                <updated>Tue, 9 Jun 2020 14:48:37 +0000</updated>
                            <resolved>Sun, 21 Jul 2019 04:11:57 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="237055" author="adilger" created="Thu, 15 Nov 2018 20:29:09 +0000"  >&lt;p&gt;I agree - I didn&apos;t even know that this was the case, and I expect that making this change is fairly easy.&lt;/p&gt;

&lt;p&gt;On a related note, it is possible since 2.9 or so to use &quot;lru_max_age=20s&quot; so that the units are seconds.&lt;/p&gt;</comment>
                            <comment id="250995" author="gerrit" created="Thu, 11 Jul 2019 09:53:57 +0000"  >&lt;p&gt;Gu Zheng (gzheng@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35467&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35467&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11672&quot; title=&quot;improving lru_max_age policy when lru resize is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11672&quot;&gt;&lt;del&gt;LU-11672&lt;/del&gt;&lt;/a&gt; ldlm/pool: awalys cancel aged locks regardless enabling or disabling lru resize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b819f1914a49ccb9944ef90465c16c8baec2a9dc&lt;/p&gt;</comment>
                            <comment id="251765" author="gerrit" created="Sat, 20 Jul 2019 18:39:20 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35467/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35467/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11672&quot; title=&quot;improving lru_max_age policy when lru resize is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11672&quot;&gt;&lt;del&gt;LU-11672&lt;/del&gt;&lt;/a&gt; ldlm: awalys cancel aged locks regardless enabling or disabling lru resize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e4c490bac7701435cb08ce444d9b23b8fd1dd839&lt;/p&gt;</comment>
                            <comment id="251773" author="pjones" created="Sun, 21 Jul 2019 04:11:57 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="252365" author="gerrit" created="Thu, 1 Aug 2019 00:46:22 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35660&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35660&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11672&quot; title=&quot;improving lru_max_age policy when lru resize is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11672&quot;&gt;&lt;del&gt;LU-11672&lt;/del&gt;&lt;/a&gt; ldlm: awalys cancel aged locks regardless enabling or disabling lru resize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 59dacdf2f97acc2613c66f9734ac6b14199e1d28&lt;/p&gt;</comment>
                            <comment id="252938" author="gerrit" created="Sun, 11 Aug 2019 23:33:36 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35660/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35660/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11672&quot; title=&quot;improving lru_max_age policy when lru resize is disabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11672&quot;&gt;&lt;del&gt;LU-11672&lt;/del&gt;&lt;/a&gt; ldlm: awalys cancel aged locks regardless enabling or disabling lru resize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 67e3ad553c3e0d6759402692a0f0a51fe42191e6&lt;/p&gt;</comment>
                    </comments>
                <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">
                                                        </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|i006hb:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>