<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:14:06 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-8040] changelog_mask modifications from default do not persist across MDT restart</title>
                <link>https://jira.whamcloud.com/browse/LU-8040</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;If the changelog_mask is updated from the default, e.g. by running on MGS:&lt;br/&gt;
lctl conf_param snx11155-MDT0000.changelog_mask=+CLOSE&lt;br/&gt;
The mask change is picked up by the MDS, but on MDS restart (e.g. on failover of MDT), the updated flag is not preserved. The changelog_mask reverts to its original setting.&lt;/p&gt;

&lt;p&gt;lctl set_param -P command stores options to params file. This options&lt;br/&gt;
are aplied in server_start_targets during target mount. At least&lt;br/&gt;
changelog apply default options during initialization. So it reset&lt;br/&gt;
options applied by set_param -P.&lt;/p&gt;

&lt;p&gt;Params log file processing should be moved after device initialization.&lt;br/&gt;
So new parameters aplied after default.&lt;/p&gt;

&lt;p&gt;How to recreate:&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;lctl get_param mdd.*.changelog_mask
testfs.changelog_mask=
MARK CREAT MKDIR HLINK SLINK MKNOD UNLNK RMDIR RENME RNMTO OPEN  LYOUT TRUNC SATTR XATTR HSM MTIME CTIME 
lctl conf_param testfs-MDT0000.mdd.changelog_mask=&lt;span class=&quot;code-quote&quot;&gt;&apos;MARK CREAT MKDIR HLINK SLINK MKNOD UNLNK RMDIR RENME RNMTO OPEN CLOSE LYOUT TRUNC SATTR XATTR HSM MTIME CTIME&apos;&lt;/span&gt;
lctl get_param mdd.*.changelog_mask
testfs-MDT0000.changelog_mask=
MARK CREAT MKDIR HLINK SLINK MKNOD UNLNK RMDIR RENME RNMTO OPEN CLOSE LYOUT TRUNC SATTR XATTR HSM MTIME CTIME
#restart mdt
lctl get_param mdd.*.changelog_mask
MARK CREAT MKDIR HLINK SLINK MKNOD UNLNK RMDIR RENME RNMTO OPEN LYOUT TRUNC SATTR XATTR HSM MTIME CTIME
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="36234">LU-8040</key>
            <summary>changelog_mask modifications from default do not persist across MDT restart</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="niu">Niu Yawei</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                            <label>bgti</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 19 Apr 2016 07:10:15 +0000</created>
                <updated>Wed, 22 Jun 2016 08:21:47 +0000</updated>
                            <resolved>Wed, 22 Jun 2016 08:21:47 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="149383" author="gerrit" created="Tue, 19 Apr 2016 08:01:17 +0000"  >&lt;p&gt;Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19647&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19647&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8040&quot; title=&quot;changelog_mask modifications from default do not persist across MDT restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8040&quot;&gt;&lt;del&gt;LU-8040&lt;/del&gt;&lt;/a&gt; mgc: apply params after device initializaton&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c2608fe29f2dd340cea718c94adfb9f164cb9851&lt;/p&gt;</comment>
                            <comment id="149434" author="jgmitter" created="Tue, 19 Apr 2016 17:39:43 +0000"  >&lt;p&gt;Hi Niu,&lt;br/&gt;
Could you please have a review of the patch?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="150470" author="gerrit" created="Thu, 28 Apr 2016 14:36:19 +0000"  >&lt;p&gt;Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19854&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19854&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8040&quot; title=&quot;changelog_mask modifications from default do not persist across MDT restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8040&quot;&gt;&lt;del&gt;LU-8040&lt;/del&gt;&lt;/a&gt; mgc: Apply changelog defaults values in  mdd_init0()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f061d1c6f2adacb6d2bcc96fb7511ba642e1f1ff&lt;/p&gt;</comment>
                            <comment id="156423" author="gerrit" created="Wed, 22 Jun 2016 02:53:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19854/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19854/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8040&quot; title=&quot;changelog_mask modifications from default do not persist across MDT restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8040&quot;&gt;&lt;del&gt;LU-8040&lt;/del&gt;&lt;/a&gt; mgc: Apply changelog defaults values in  mdd_init0()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 36e5b7203d5f80b5ac1341a05a35c19915c05bd6&lt;/p&gt;</comment>
                            <comment id="156468" author="niu" created="Wed, 22 Jun 2016 08:21:47 +0000"  >&lt;p&gt;Patch landed.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzy8j3:</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>