<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:13 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-14144] get and set Lustre module parameters via &quot;lctl get_param/set_param&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-14144</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A patch is needed to allow using &quot;&lt;tt&gt;lctl set_param &lt;span class=&quot;error&quot;&gt;&amp;#91;-P&amp;#93;&lt;/span&gt; mdt.*.max_mod_rpcs_per_client=N&lt;/tt&gt;&quot; and other module parameters via the normal Lustre parameter interface. It doesn&apos;t make sense that this is only available as a module parameter.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="61736">LU-14144</key>
            <summary>get and set Lustre module parameters via &quot;lctl get_param/set_param&quot;</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Nov 2020 21:05:40 +0000</created>
                <updated>Fri, 15 Dec 2023 16:03:25 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="296919" author="adilger" created="Fri, 26 Mar 2021 22:13:10 +0000"  >&lt;p&gt;It would also be possible to implement this with a symlink to the module parameter &lt;tt&gt;/sys/module/mdt/parameters/max_mod_rpcs_in_flight&lt;/tt&gt;, similar to &lt;tt&gt;lnet_debugfs_symlinks&lt;/tt&gt; does for &lt;tt&gt;debug_mb-&amp;gt;&quot;../../../module/libcfs/parameters/libcfs_debug_mb&quot;&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="317428" author="adilger" created="Thu, 4 Nov 2021 00:13:56 +0000"  >&lt;p&gt;It also isn&apos;t clear why this parameter is limited  by the MDT?  AFAICS from the code, there doesn&apos;t appear to be any server-side limitation on the number of request slots used by a client, but I haven&apos;t done an exhaustive analysis.&lt;/p&gt;</comment>
                            <comment id="338704" author="nrutman" created="Fri, 24 Jun 2022 17:39:17 +0000"  >&lt;blockquote&gt;&lt;p&gt;It also isn&apos;t clear why this parameter is limited by the MDT? AFAICS from the code, there doesn&apos;t appear to be any server-side limitation on the number of request slots used by a client&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The MDT side limit defines the maximum of the client max_mod_rpcs_in_flight. It is useful to have a max set server-side to prevent abuse by greedy clients.&lt;/p&gt;</comment>
                            <comment id="338711" author="adilger" created="Fri, 24 Jun 2022 17:59:04 +0000"  >&lt;blockquote&gt;
&lt;p&gt;It would also be possible to implement this with a symlink to the module parameter &lt;tt&gt;/sys/module/mdt/parameters/max&amp;#95;mod&amp;#95;rpcs&amp;#95;in&amp;#95;flight&lt;/tt&gt;, similar to &quot;&lt;tt&gt;lnet&amp;#95;debugfs&amp;#95;symlinks does for debug_mb&amp;#45;&amp;gt;../../../module/libcfs/parameters/libcfs&amp;#95;debug&amp;#95;mb&lt;/tt&gt;&quot;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;An alternate, and maybe preferable, solution would be to have &quot;&lt;tt&gt;lctl get_param/set_param&lt;/tt&gt;&quot; look at &quot;&lt;tt&gt;/sys/modules/&amp;lt;obd&amp;gt;/parameters/&amp;lt;param&amp;gt;&lt;/tt&gt;&quot; for parameters of the form &quot;&lt;tt&gt;&amp;lt;obd&amp;gt;.&amp;lt;param&amp;gt;&lt;/tt&gt;&quot;, which would immediately make all of the module parameters available for tuning via &quot;&lt;tt&gt;lctl set&amp;#95;param &amp;#45;P&lt;/tt&gt;&quot;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The MDT side limit defines the maximum of the client &lt;tt&gt;max&amp;#95;mod&amp;#95;rpcs&amp;#95;in&amp;#95;flight&lt;/tt&gt;. It is useful to have a max set server-side to prevent abuse by greedy clients.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Sure.  My main question is whether there are technical limitations (e.g. the number of slots in the &lt;tt&gt;last&amp;#95;rcvd&lt;/tt&gt; or &lt;tt&gt;reply&amp;#95;data&lt;/tt&gt; is hard-coded at mount time) that prevent this parameter from being changed at mount time on the MDS and/or allow clients to have different values (e.g. if the MDS value is updated, new clients mount and get new limit, but currently-mounted clients have old limit).  &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25521">LU-5319</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59015">LU-13503</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="73891">LU-16454</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|i01flb:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>