<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:38:19 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-10803] req_buffers_max and req_history_max setting problems</title>
                <link>https://jira.whamcloud.com/browse/LU-10803</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We hit &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9372&quot; title=&quot;OOM happens on OSS during Lustre recovery for more than 5000 clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9372&quot;&gt;&lt;del&gt;LU-9372&lt;/del&gt;&lt;/a&gt; OOM problems, and after applying&lt;/p&gt;

&lt;p&gt;&#160; &#160; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9372&quot; title=&quot;OOM happens on OSS during Lustre recovery for more than 5000 clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9372&quot;&gt;&lt;del&gt;LU-9372&lt;/del&gt;&lt;/a&gt; ptlrpc: allow to limit number of service&apos;s rqbds&lt;/p&gt;

&lt;p&gt;&#160; &#160; we found two problems:&lt;/p&gt;

&lt;p&gt;&#160;&#160; &#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; 1)Since 0 is a reserved value for @srv_nrqbds_max which&lt;/p&gt;

&lt;p&gt;&#160; &#160; means unlimited value, procfs write interface should support&lt;/p&gt;

&lt;p&gt;&#160; &#160; this value, otherwise, there is no way to change default behavior&lt;/p&gt;

&lt;p&gt;&#160; &#160; back.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; 2)the check in ptlrpc_lprocfs_req_history_max_seq_write() was broken&lt;/p&gt;

&lt;p&gt;&#160; &#160; after this patch, the following check will always succeed if @srv_nrqbds_max&lt;/p&gt;

&lt;p&gt;&#160; &#160; is kept as default value 0:&lt;/p&gt;

&lt;p&gt;&#160;&#160; &#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; val &amp;gt; svc-&amp;gt;srv_nrqbds_max/2&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="51283">LU-10803</key>
            <summary>req_buffers_max and req_history_max setting problems</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="wangshilong">Wang Shilong</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 12 Mar 2018 12:19:52 +0000</created>
                <updated>Mon, 7 Jan 2019 19:16:30 +0000</updated>
                            <resolved>Thu, 15 Mar 2018 14:04:07 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="223301" author="wangshilong" created="Mon, 12 Mar 2018 12:22:52 +0000"  >&lt;p&gt;Here is patch:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/31622/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/31622/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="223306" author="bfaccini" created="Mon, 12 Mar 2018 13:36:10 +0000"  >&lt;p&gt;Nice catch! And thanks for the patch.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="223704" author="gerrit" created="Thu, 15 Mar 2018 13:53:59 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31622/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31622/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10803&quot; title=&quot;req_buffers_max and req_history_max setting problems&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10803&quot;&gt;&lt;del&gt;LU-10803&lt;/del&gt;&lt;/a&gt; ptlrpc: fix req_buffers_max and req_history_max setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c11c61a82d668b54a41127a759b2e99cb077ac14&lt;/p&gt;</comment>
                            <comment id="223723" author="pjones" created="Thu, 15 Mar 2018 14:04:07 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="223798" author="gerrit" created="Thu, 15 Mar 2018 20:23:05 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31665&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31665&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10803&quot; title=&quot;req_buffers_max and req_history_max setting problems&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10803&quot;&gt;&lt;del&gt;LU-10803&lt;/del&gt;&lt;/a&gt; ptlrpc: fix req_buffers_max and req_history_max setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 14b6ab137329484507ddcb651167ce9b3ab5284a&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="45601">LU-9372</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|hzzu9r:</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>