<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:57 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-3676] Error setting llite.max_cached_mb on MGS</title>
                <link>https://jira.whamcloud.com/browse/LU-3676</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When setting the conf param max_cached_mb on the MGS, clients connecting to it&apos;s filesystem did not pick up the set value, and instead used the default. There is this correlating error message in the /var/log/messages on the client:&lt;/p&gt;

&lt;p&gt;Jul 31 23:01:17 vm4 kernel: LustreError: 5911:0:(obd_config.c:1308:class_process_proc_param()) writing proc entry max_cached_mb err -19&lt;/p&gt;

&lt;p&gt;As -19 is a ENODEV, this may point to a bug where llite parameters are attempted to be set before the system is ready for them.&lt;/p&gt;

&lt;p&gt;Version of Lustre used: IEEL Lustre and client&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;br/&gt;
1. Install Lustre and manually configure a filesystem. In this case, I had 4 Lustre servers: 2 were an active-active pair for the MGT and MDT, and 2 were an active-active pair for a pair of OSTs.&lt;br/&gt;
2. Mount the filesystem and run &quot;lctl get_param llite.*.max_cached_mb&quot; on the client. Note what the default value is.&lt;br/&gt;
3. Unmount the filesystem.&lt;br/&gt;
2. Run &apos;lctl conf_param &amp;lt;fsname&amp;gt;.llite.max_cached_mb=&amp;lt;a value other than the default noted above&amp;gt;&apos; on the MGS.&lt;br/&gt;
3. Mount the filesystem on a client&lt;br/&gt;
4. Check /var/log/messages, see the above error message.&lt;br/&gt;
5. Re-run &quot;lctl get_param llite.*.max_cached_mb&quot; on the client, and see that it is still the default value, not the value set on the MGS.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20130">LU-3676</key>
            <summary>Error setting llite.max_cached_mb on MGS</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="jay">Jinshan Xiong</assignee>
                                    <reporter username="kelsey">Kelsey Prantis</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Jul 2013 19:25:39 +0000</created>
                <updated>Thu, 15 Jan 2015 08:04:12 +0000</updated>
                            <resolved>Fri, 14 Nov 2014 18:38:34 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.5.2</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="63410" author="jay" created="Wed, 31 Jul 2013 19:30:22 +0000"  >&lt;p&gt;This is an issue about client parameter settings. It failed at:&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-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; ll_wr_max_cached_mb(struct file *file, &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;char&lt;/span&gt; *buffer,
                               unsigned &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; count, void *data)
{
        ...

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (sbi-&amp;gt;ll_dt_exp == NULL)
                RETURN(-ENODEV);

        ...
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The root cause of this problem is that when this parameter is applied, the client is not set up data connection to OST yet. In that case, it&apos;s not necessary to return -ENODEV at all, instead we should return success here.&lt;/p&gt;</comment>
                            <comment id="63412" author="jay" created="Wed, 31 Jul 2013 19:34:10 +0000"  >&lt;p&gt;patch is at: &lt;a href=&quot;http://review.whamcloud.com/7194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7194&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66822" author="jlevi" created="Tue, 17 Sep 2013 12:42:37 +0000"  >&lt;p&gt;Patch landed to Master so closing ticket.&lt;/p&gt;</comment>
                            <comment id="93374" author="jay" created="Fri, 5 Sep 2014 20:06:51 +0000"  >&lt;p&gt;Sorry this patch has to be reworked and here is the patch: &lt;a href=&quot;http://review.whamcloud.com/11783&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11783&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="93531" author="adilger" created="Tue, 9 Sep 2014 15:28:06 +0000"  >&lt;p&gt;Jinshan, what is the priority for landing this new version of the patch, and which versions should it be landed on?&lt;/p&gt;</comment>
                            <comment id="93535" author="jay" created="Tue, 9 Sep 2014 15:53:31 +0000"  >&lt;p&gt;This patch will affect the usability of conf_param for max_cached_mb so the priority should be medium.&lt;/p&gt;

&lt;p&gt;I&apos;d like it to be landed to master for now and I will back port it to elsewhere.&lt;/p&gt;</comment>
                            <comment id="99202" author="jlevi" created="Fri, 14 Nov 2014 18:38:34 +0000"  >&lt;p&gt;Patches landed to Master.&lt;/p&gt;</comment>
                            <comment id="100612" author="gerrit" created="Wed, 3 Dec 2014 23:00:09 +0000"  >&lt;p&gt;Jian Yu (jian.yu@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12924&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3676&quot; title=&quot;Error setting llite.max_cached_mb on MGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3676&quot;&gt;&lt;del&gt;LU-3676&lt;/del&gt;&lt;/a&gt; llite: to configure max_cached_mb correctly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4da46d136b433e45a9c4a669e34fd349739ad2e5&lt;/p&gt;</comment>
                            <comment id="103554" author="gerrit" created="Thu, 15 Jan 2015 04:44:52 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12924/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12924/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3676&quot; title=&quot;Error setting llite.max_cached_mb on MGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3676&quot;&gt;&lt;del&gt;LU-3676&lt;/del&gt;&lt;/a&gt; llite: to configure max_cached_mb correctly&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 016d6276ed20f4f61894278d055e4fe80fd0a470&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|hzvwwn:</customfieldvalue>

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