<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:27 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-3155] Permanent parameters with lctl set_param -P</title>
                <link>https://jira.whamcloud.com/browse/LU-3155</link>
                <project id="10000" key="LU">Lustre</project>
                    <description></description>
                <environment></environment>
        <key id="18333">LU-3155</key>
            <summary>Permanent parameters with lctl set_param -P</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="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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 11 Apr 2013 07:45:11 +0000</created>
                <updated>Thu, 13 Aug 2015 19:10:05 +0000</updated>
                            <resolved>Wed, 11 Sep 2013 01:33:01 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="56071" author="artem_blagodarenko" created="Thu, 11 Apr 2013 08:10:01 +0000"  >&lt;p&gt;Sorry, next information should be in issue&apos;s description.&lt;/p&gt;

&lt;p&gt;With this patch permanent and temporary formats are identical:&lt;br/&gt;
Temporary:&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;set_param obdfilter.*.client_cache_seconds=15&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Permanent:&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;set_param -P obdfilter.*.client_cache_seconds=15&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;1. Permanent parameter is added to single special param log called &quot;params&quot;. Same format is using. Command &quot;param2&quot;, target &quot;general&quot;&lt;br/&gt;
2. Params log updates get pulled by all the clients and servers. Separate ldlm lock is used for that.&lt;br/&gt;
3. MGC executes via upcall-type mechanism to userspace a local lctl set_param string=value&lt;br/&gt;
4. The protocol can be extended for supporting another upcalls, not only lctl&lt;/p&gt;

&lt;p&gt;The command&apos;s format is next&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;#01 (224)marker   2 (flags=0x01, v2.3.63.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;osc.*.max_dirty_mb&apos;&lt;/span&gt; Wed Apr 10 23:32:13 2013-
#02 (112)param2 0:general  1:osc.*.max_dirty_mb=64  2:lctl  
#03 (224)marker   2 (flags=0x02, v2.3.63.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;osc.*.max_dirty_mb&apos;&lt;/span&gt; Wed Apr 10 23:32:13 2013-
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Benefits of using set_param -P instead of conf_param:&lt;br/&gt;
1. Identical format for permanent and temporary commands&lt;br/&gt;
2. wildcarding in strings&lt;br/&gt;
3. no unimplemented paths (e.g. ptlrpc services)&lt;br/&gt;
4. simpler implementation&lt;/p&gt;</comment>
                            <comment id="56072" author="artem_blagodarenko" created="Thu, 11 Apr 2013 08:11:48 +0000"  >&lt;p&gt;Please, change topic to &quot;Permanent parameters with lctl set_param -P&quot;. Thanks.&lt;/p&gt;</comment>
                            <comment id="56076" author="artem_blagodarenko" created="Thu, 11 Apr 2013 09:06:59 +0000"  >&lt;p&gt;The patch is here: &lt;a href=&quot;http://review.whamcloud.com/6025&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6025&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56077" author="artem_blagodarenko" created="Thu, 11 Apr 2013 09:40:43 +0000"  >&lt;p&gt;Xyratex &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-272&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-272&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56729" author="pjones" created="Mon, 22 Apr 2013 19:46:58 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please look after this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="56759" author="emoly.liu" created="Tue, 23 Apr 2013 00:43:12 +0000"  >&lt;p&gt;OK.&lt;/p&gt;</comment>
                            <comment id="57935" author="nrutman" created="Wed, 8 May 2013 18:46:12 +0000"  >&lt;p&gt;Originally &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2629&quot; title=&quot;set_param and conf_param have different syntaxes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2629&quot;&gt;&lt;del&gt;LU-2629&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57936" author="nrutman" created="Wed, 8 May 2013 18:58:29 +0000"  >&lt;p&gt;Looking for some input from Intel architects.&lt;/p&gt;

&lt;p&gt;Alex Lyashkov see a scalability problem. This implementation shares a single llog over all targets and clients. Alex advizes splitting the configuration file into dedicated client and server versions.  This save rpc&apos;s if only servers or clients are configured.&lt;br/&gt;
Nathan Rutman believes that scalability is virtually the same as current conf_param code - items that affect the client llog will dominate the worst-case scenario anyhow. I.e. the difference between updating all clients, and all clients plus all servers, is minor.  And the increased complexity of a) determining what items need to go into each log, and b) the additional code required is not worth the slight RPC savings.&lt;/p&gt;</comment>
                            <comment id="57940" author="adilger" created="Wed, 8 May 2013 19:26:35 +0000"  >&lt;p&gt;I haven&apos;t looked at the patch in detail yet, so my comments are only generalities.&lt;/p&gt;

&lt;p&gt;While I&apos;m never fond of extra overhead imposed on e.g. the servers for something that should mostly impacts the client, I don&apos;t think this is a critical performance issue.  The MGC llog processing on the OSS and MDS will be asynchronous, so will not affect server functionality, and the number of servers is small compared to the number of clients, so the load on the MGS should not be affected in any serious manner.&lt;/p&gt;

&lt;p&gt;I think Nathan brought up the critical issue which might force a single log for all tunables - the MGS has no way to know whether e.g. &lt;tt&gt;ldlm.namespaces.*.lru_size&lt;/tt&gt; is a parameter for a client or a server.  Any number of similar ambiguities exist that mean the parameters need to be stored in a single configuration llog.  It is up to the administrator to specify any wildcards in a manner so that they apply only to the client or server, if appropriate.  The nodes that process the parameters should ignore ones that do not apply locally.&lt;/p&gt;</comment>
                            <comment id="61273" author="nrutman" created="Tue, 25 Jun 2013 00:11:49 +0000"  >&lt;p&gt;Can we get this landed please?  I really would like to see a simpler and more robust configuration, and we don&apos;t want to diverge our branch from mainstream too far.&lt;/p&gt;</comment>
                            <comment id="61281" author="emoly.liu" created="Tue, 25 Jun 2013 01:39:59 +0000"  >&lt;p&gt;The patch that Artem pushed is always hitting some test failures. After the patch passes the test and review, it will be landed.&lt;/p&gt;</comment>
                            <comment id="61831" author="artem_blagodarenko" created="Thu, 4 Jul 2013 20:27:27 +0000"  >&lt;p&gt;Test always fails on test_132 of sanity with message &apos;som is still disabled&apos;.&lt;br/&gt;
As I understand som is enabled on MGS and checked on MDS (this servers are on different hosts) and I can&apos;t find code that offer check this setting on MDS. Should this scheme works?&lt;/p&gt;

&lt;p&gt;Indeed, this test works on other branches. I can&apos;t understand why and how my patch blokes this.&lt;/p&gt;</comment>
                            <comment id="61884" author="artem_blagodarenko" created="Mon, 8 Jul 2013 13:07:05 +0000"  >&lt;p&gt;Bug is fixed. Waiting for testing results.&lt;/p&gt;</comment>
                            <comment id="62048" author="adilger" created="Wed, 10 Jul 2013 19:01:07 +0000"  >&lt;p&gt;I filed &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-166&quot; title=&quot;Document new &amp;quot;lctl set_param -P&amp;quot; option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-166&quot;&gt;&lt;del&gt;LUDOC-166&lt;/del&gt;&lt;/a&gt; for tracking the required documentation update for this feature.&lt;/p&gt;</comment>
                            <comment id="62053" author="adilger" created="Wed, 10 Jul 2013 21:03:49 +0000"  >&lt;p&gt;It would be useful to have two additional patches for this change:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;add deprecation warnings for &quot;conf_param&quot; usage for a future release (e.g. &lt;tt&gt;LUSTRE_VERSION_CODE &amp;gt; OBD_OCD_VERSION(2, 7, 53, 0)&lt;/tt&gt;) and disable the code entirely in some future release (e.g. &amp;gt; 3.0.53)&lt;/li&gt;
	&lt;li&gt;remove the use of &quot;lctl conf_param&quot; from test scripts around 2.7.53 (want to keep these for a while for interop testing)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="64139" author="emoly.liu" created="Tue, 13 Aug 2013 00:51:36 +0000"  >&lt;p&gt;patch &lt;a href=&quot;http://review.whamcloud.com/6025&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6025&lt;/a&gt; landed for 2.5&lt;/p&gt;</comment>
                            <comment id="64618" author="adilger" created="Tue, 20 Aug 2013 16:15:25 +0000"  >&lt;p&gt;I noticed that the original patch is also missing an update to the lustre/doc/lctl.8 man page.&lt;/p&gt;</comment>
                            <comment id="65058" author="artem_blagodarenko" created="Mon, 26 Aug 2013 13:20:56 +0000"  >&lt;p&gt;Warnings and man page&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7452&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7452&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/7436/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7436/&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="65739" author="bogl" created="Wed, 4 Sep 2013 15:15:23 +0000"  >&lt;p&gt;Artem, Please take a look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3798&quot; title=&quot;replay-single test_86: configuration log errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3798&quot;&gt;&lt;del&gt;LU-3798&lt;/del&gt;&lt;/a&gt; and comment.&lt;/p&gt;</comment>
                            <comment id="65820" author="artem_blagodarenko" created="Thu, 5 Sep 2013 10:02:55 +0000"  >&lt;p&gt;&amp;gt;Artem, Please take a look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3798&quot; title=&quot;replay-single test_86: configuration log errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3798&quot;&gt;&lt;del&gt;LU-3798&lt;/del&gt;&lt;/a&gt; and comment.&lt;br/&gt;
Thanks. Done.&lt;/p&gt;</comment>
                            <comment id="66291" author="emoly.liu" created="Wed, 11 Sep 2013 01:33:01 +0000"  >&lt;p&gt;Warnings and man page change landed for 2.5&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="17197">LU-2629</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="20511">LU-3798</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="19744">LUDOC-166</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31474">LU-7004</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="20491">LU-3788</subtask>
                            <subtask id="20492">LU-3789</subtask>
                    </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|hzvnnz:</customfieldvalue>

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