<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:42 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-7183] lctl set_param -P does not work for sptlrpc flavor</title>
                <link>https://jira.whamcloud.com/browse/LU-7183</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Using &lt;br/&gt;
lctl set_param -P lustre.srpc.flavor.default=skpi&lt;br/&gt;
instead of:&lt;br/&gt;
lctl conf_param lustre.srpc.flavor.default=skpi&lt;br/&gt;
does not work correctly.  No sptlrpc flavor is used.  It appears that this may be because the llog for sptlrpc at  MGS at CONFIGS/fsname-sptlrpc is not created.  Instead with &quot;set_param -P&quot; the parameters are placed in params.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="32208">LU-7183</key>
            <summary>lctl set_param -P does not work for sptlrpc flavor</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="jfilizetti">Jeremy Filizetti</reporter>
                        <labels>
                            <label>SSK</label>
                            <label>kerberos</label>
                    </labels>
                <created>Fri, 18 Sep 2015 01:28:02 +0000</created>
                <updated>Mon, 26 Nov 2018 15:37:38 +0000</updated>
                            <resolved>Sat, 21 Apr 2018 18:45:37 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="127733" author="jfilizetti" created="Fri, 18 Sep 2015 01:28:55 +0000"  >&lt;p&gt;Linking to shared key though it will affect kerberos as well&lt;/p&gt;</comment>
                            <comment id="127822" author="adilger" created="Fri, 18 Sep 2015 17:49:55 +0000"  >&lt;p&gt;There are several other issues related to &quot;lctl set_param -P&quot; that will be fixed via &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7004&quot; title=&quot;fix &amp;quot;lctl set_param -P&amp;quot; to allow deprecation of &amp;quot;lctl conf_param&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7004&quot;&gt;&lt;del&gt;LU-7004&lt;/del&gt;&lt;/a&gt; for 2.9.0. &lt;/p&gt;</comment>
                            <comment id="195152" author="simmonsja" created="Tue, 9 May 2017 18:00:56 +0000"  >&lt;p&gt;I did some debugging over the weekend and have traced it in failing to parse correctly in mgc_process_llog. Will continue to debug. I see the reason for lctl set_param -P failing as well. In mgs_parse_param() it reports:&lt;/p&gt;

&lt;p&gt;&quot;setparam fs=&apos;general&apos; device=general&apos;&lt;/p&gt;

&lt;p&gt;This is wrong. Its just copying the device &apos;general&apos; over to the file system name which causes the failure.&lt;/p&gt;</comment>
                            <comment id="211008" author="simmonsja" created="Fri, 13 Oct 2017 01:16:02 +0000"  >&lt;p&gt;I looked into why this is failing. The reason is because the way lctl set_param -P work is that is send a tunable setting to lctl in userland that than then sets the proc file entry. The problem for sptlrpc is that the flavor settings are not exposed in the procfs/sysfs tree.&lt;/p&gt;</comment>
                            <comment id="219003" author="simmonsja" created="Wed, 24 Jan 2018 15:05:34 +0000"  >&lt;p&gt;So normally for lctl set_param -P the config change is sent to lctl in userland so it can write to to the proc,sysfs, or debugfs file. In this case its a bit tricker than most since two pieces of data want to be written out. One is flavor i.e skpi etc and the other is the direction. Since set_param -P format follows $subsystem.$device.$param in this case we will have by default the source direction. This leaves us with the destination direction and the flavor needing to be set.&lt;/p&gt;

&lt;p&gt;Their are two ways we could handle this. First make srpc_info (debugfs or proc entry) writeable. This means pushing three values, the flavor, the destination direction, and the source net, o2ib1 for example, into srpc_info. Sadly source net is missing from srpc_info. One option is to push all the settings at the same time to srpc_info. The other option is create new individual files to handle each change in sysfs. In that case we run into making the change atomic. Any ideas?&lt;/p&gt;</comment>
                            <comment id="219004" author="artem_blagodarenko" created="Wed, 24 Jan 2018 15:21:12 +0000"  >&lt;p&gt;Hello James,&lt;/p&gt;

&lt;p&gt;Just what to remind that params config file has reserved field to store which means is used to execute configuration string. For example:&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&#160;&#160;&#160;2 (flags=0x01, v2.8.55.0) general&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;ldlm.namespaces.*mdc*.lru_size&apos;&lt;/span&gt; Wed Nov 23 13:29:33 2016- #02 (128)set_param 0:general&#160;&#160;1:ldlm.namespaces.*mdc*.lru_size=0&#160;&#160;2:lctl&#160;&#160; #03 (224)END&#160;&#160;&#160;marker&#160;&#160;&#160;2 (flags=0x02, v2.8.55.0) general&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;ldlm.namespaces.*mdc*.lru_size&apos;&lt;/span&gt; Wed Nov 23 13:29:33 201
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Here &quot;lctl&quot; is stored in 2nd field which means configuration need to be execute using lctl set_param with given parameters. The original idea was to save the place to extend functionality and use any other method. But  lctl set_param -P syntax need to be extended to store all permanent parameters in the same params file.&lt;/p&gt;</comment>
                            <comment id="221958" author="simmonsja" created="Wed, 28 Feb 2018 18:22:36 +0000"  >&lt;p&gt;I was looking for a way to set it with the upcall/udev event. So how failnode.nid is handled inspired me. We can use something like:&lt;/p&gt;

&lt;p&gt;lctl set_param osc.lustre-OST*.srpc_info=&quot;default=skpi&quot;.&lt;/p&gt;

&lt;p&gt;A patch should be coming shortly.&lt;/p&gt;</comment>
                            <comment id="226523" author="simmonsja" created="Sat, 21 Apr 2018 18:45:37 +0000"  >&lt;p&gt;New ticket replaces this work&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="46342">LU-9567</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18738">LU-3289</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="51931">LU-10937</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45731">LU-9399</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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 1 Jun 2016 01:28:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxo27:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 18 Sep 2015 01:28:02 +0000</customfieldvalue>

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