<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:38:17 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-3944] something wrong with &quot;lctl conf_param&quot; to set MDS/OSS thread count</title>
                <link>https://jira.whamcloud.com/browse/LU-3944</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We found this problem during reviewing lustre manual chapter 31.9. Usually, we can set threads_min like&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;lctl set_param mds.MDS.mdt_readpage.threads_min=16
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But if we use conf_param to set it permanently, it will fail. It can be reproduced by the following steps:&lt;br/&gt;
1)lctl conf_param lustre.mdt.mdt_readpage.threads_min=16&lt;br/&gt;
no error is reported, but dmesg shows&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;Lustre: Setting parameter lustre-MDT0000.mdt.mdt_readpage.threads_min in log lustre-MDT0000
LustreError: 1273:0:(obd_config.c:1591:class_config_llog_handler()) MGC10.211.55.18@tcp: cfg command failed: rc = -38
Lustre:    cmd=cf00f 0:lustre-MDT0000  1:mdt.mdt_readpage.threads_min=16  
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2)since the previous lctl cmd doesn&apos;t report error, when you umount and remount mds next time, you will see &quot;Function not implemented&quot;. &lt;/p&gt;

&lt;p&gt;BTW, &quot;lctl set_param -P&quot; introduced by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3155&quot; title=&quot;Permanent parameters with lctl set_param -P&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3155&quot;&gt;&lt;del&gt;LU-3155&lt;/del&gt;&lt;/a&gt;, a new method to set parameter permanently for lustre 2.5 and later, has no such problem.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20942">LU-3944</key>
            <summary>something wrong with &quot;lctl conf_param&quot; to set MDS/OSS thread count</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="emoly.liu">Emoly Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Sep 2013 07:35:57 +0000</created>
                <updated>Sat, 9 Oct 2021 05:44:02 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 05:44:02 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.5.0</version>
                                                        <due></due>
                            <votes>1</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="67208" author="emoly.liu" created="Sun, 22 Sep 2013 15:18:15 +0000"  >&lt;p&gt;The root cause of this problem is that we have no &quot;mds&quot; proc methods for command &quot;lctl conf_param&quot;, such as PARAM_MDS and mds_process_config. So, all mds.* proc parameters can&apos;t be processed.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-comment&quot;&gt;/* Prefixes &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; parameters handled by obd&apos;s proc methods (XXX_process_config) */&lt;/span&gt;
#define PARAM_OST                  &lt;span class=&quot;code-quote&quot;&gt;&quot;ost.&quot;&lt;/span&gt;
#define PARAM_OSC                  &lt;span class=&quot;code-quote&quot;&gt;&quot;osc.&quot;&lt;/span&gt;
#define PARAM_MDT                  &lt;span class=&quot;code-quote&quot;&gt;&quot;mdt.&quot;&lt;/span&gt;
#define PARAM_MDD                  &lt;span class=&quot;code-quote&quot;&gt;&quot;mdd.&quot;&lt;/span&gt;
#define PARAM_MDC                  &lt;span class=&quot;code-quote&quot;&gt;&quot;mdc.&quot;&lt;/span&gt;
#define PARAM_LLITE                &lt;span class=&quot;code-quote&quot;&gt;&quot;llite.&quot;&lt;/span&gt;
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In old lustre version, thread count parameters were defined under /proc/fs/lustre/mdt/MDS/, and then, they were pulled into a new MDS layer in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-718&quot; title=&quot;pull out ptlrpc service from mdt stack to create a mds layer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-718&quot;&gt;&lt;del&gt;LU-718&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="68105" author="jcl" created="Tue, 1 Oct 2013 19:40:26 +0000"  >&lt;p&gt;Does any one work on a patch for this ticket? If not I will do it&lt;/p&gt;</comment>
                            <comment id="68554" author="emoly.liu" created="Tue, 8 Oct 2013 01:55:58 +0000"  >&lt;p&gt;Hi Jacques, we still have no patch. It will be appreciated if you would do it.&lt;/p&gt;</comment>
                            <comment id="68634" author="jcl" created="Tue, 8 Oct 2013 20:03:03 +0000"  >&lt;p&gt;ok will work on one&lt;/p&gt;</comment>
                            <comment id="315100" author="adilger" created="Sat, 9 Oct 2021 05:44:02 +0000"  >&lt;p&gt;&quot;&lt;tt&gt;lctl conf_param&lt;/tt&gt;&quot; is deprecated, use &quot;&lt;tt&gt;lctl set_param -P&lt;/tt&gt;&quot; instead.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzw287:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10443</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>