<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:51 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-9399] lctl conf_param and lctl set_param -P are broken for llite parameters</title>
                <link>https://jira.whamcloud.com/browse/LU-9399</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;tt&gt;lctl conf_param&lt;/tt&gt; and &lt;tt&gt;lctl set_param -P&lt;/tt&gt; are broken for llite parameters (probably due to an ordering issue between the processing of the config logs and creation of the subdirectory of &lt;tt&gt;/proc/fs/llite&lt;/tt&gt; corresponding to the mount point. Both work as expected for a client that was mounted when the parameter was set but fail for subsequently mounted clients.&lt;/p&gt;

&lt;p&gt;Using &lt;tt&gt;lctl conf_param&lt;/tt&gt;:&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;m:~# llmount.sh
...
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff880036686000.xattr_cache=1
m:~# lctl conf_param lustre.llite.xattr_cache=0
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff880036686000.xattr_cache=1
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff880036686000.xattr_cache=0
m:~# umount /mnt/lustre
m:~# mount m@tcp:/lustre /mnt/lustre -t lustre -o user_xattr,flock
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff88001017d800.xattr_cache=1
m:~# sleep 60 &amp;amp;&amp;amp; lctl get_param llite.*.xattr_cache
llite.lustre-ffff88001017d800.xattr_cache=1
m:~# sleep 60 &amp;amp;&amp;amp; lctl get_param llite.*.xattr_cache
llite.lustre-ffff88001017d800.xattr_cache=1
m:~# llmountcleanup.sh
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Using &lt;tt&gt;lctl set_param -P&lt;/tt&gt;:&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;m:~# mllmount.sh
...
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff88000ee70800.xattr_cache=1
m:~# lctl set_param -P llite.*.xattr_cache=0
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff88000ee70800.xattr_cache=1
m:~# sleep 10 &amp;amp;&amp;amp; lctl get_param llite.*.xattr_cache
llite.lustre-ffff88000ee70800.xattr_cache=0
m:~# umount /mnt/lustre
m:~# mount m@tcp:/lustre /mnt/lustre -t lustre -o user_xattr,flock
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff880007858000.xattr_cache=1
m:~# sleep 60 &amp;amp;&amp;amp; lctl get_param llite.*.xattr_cache
llite.lustre-ffff880007858000.xattr_cache=1
m:~# sleep 60 &amp;amp;&amp;amp; lctl get_param llite.*.xattr_cache
llite.lustre-ffff880007858000.xattr_cache=1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;If a second client is mounted (on the same node) then the param will&lt;br/&gt;
be set correctly on the first mount point but not on the second.&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;m:~# mount m@tcp:/lustre /mnt/lustre2 -t lustre -o user_xattr,flock
m:~# lctl get_param llite.*.xattr_cache
llite.lustre-ffff880007858000.xattr_cache=0
llite.lustre-ffff88006cddb800.xattr_cache=1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="45731">LU-9399</key>
            <summary>lctl conf_param and lctl set_param -P are broken for llite parameters</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="1">Fixed</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Apr 2017 15:32:30 +0000</created>
                <updated>Sat, 17 Jun 2017 03:03:51 +0000</updated>
                            <resolved>Sat, 17 Jun 2017 03:03:51 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="193811" author="pjones" created="Thu, 27 Apr 2017 17:57:22 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please assist with this issue?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="194508" author="simmonsja" created="Thu, 4 May 2017 21:50:25 +0000"  >&lt;p&gt;Can you try my llite sysfs patch &lt;a href=&quot;https://review.whamcloud.com/#/c/24031&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/24031&lt;/a&gt;. Test conf-sanity 28 will reveal this problem. Currently it fails because of it.&lt;/p&gt;</comment>
                            <comment id="194616" author="emoly.liu" created="Fri, 5 May 2017 01:36:35 +0000"  >&lt;p&gt;I will look into it.&lt;/p&gt;</comment>
                            <comment id="196424" author="emoly.liu" created="Fri, 19 May 2017 02:38:11 +0000"  >&lt;p&gt;As John said, this is an ordering issue. process_param2_config() calls &quot;/usr/sbin/lctl set_param llite.*.xattr_cache=0&quot; during mounting before the client&apos;s /proc/fs/lustre/llite/xxx proc entry is created.&lt;br/&gt;
I will see how to fix it.&lt;/p&gt;</comment>
                            <comment id="196696" author="gerrit" created="Tue, 23 May 2017 01:25:03 +0000"  >&lt;p&gt;Emoly Liu (emoly.liu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27241&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27241&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9399&quot; title=&quot;lctl conf_param and lctl set_param -P are broken for llite parameters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9399&quot;&gt;&lt;del&gt;LU-9399&lt;/del&gt;&lt;/a&gt; llite: register mountpoint before process llog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 35efc9b025c910028317b60398d0d40f446db3f2&lt;/p&gt;</comment>
                            <comment id="199523" author="gerrit" created="Fri, 16 Jun 2017 23:56:34 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27241/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27241/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9399&quot; title=&quot;lctl conf_param and lctl set_param -P are broken for llite parameters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9399&quot;&gt;&lt;del&gt;LU-9399&lt;/del&gt;&lt;/a&gt; llite: register mountpoint before process llog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fa1bff8f6f3afb858618a563b039af3bbf46153b&lt;/p&gt;</comment>
                            <comment id="199529" author="pjones" created="Sat, 17 Jun 2017 03:03:51 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="32208">LU-7183</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36381">LU-8066</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31474">LU-7004</issuekey>
        </issuelink>
                            </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|hzzb8v:</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>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>