<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:38 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-8216] Quota updates are not properly journaled </title>
                <link>https://jira.whamcloud.com/browse/LU-8216</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;     In our production system, when Lustre server crash happen, e2fsck mostly will report Quota accounting mismatch problems. and sometimes there are huge differences.&lt;/p&gt;

&lt;p&gt;    Problems are current Lustre quota codes rely on ldiskfs quota accounting&lt;br/&gt;
 and if ldiskfs quota is wrong, we need run e2fsck or by disable/enable to fix quota accounting.&lt;/p&gt;

&lt;p&gt;   This encourage me to look quota implement for ldiskfs. while taking at codes&lt;br/&gt;
I found there is a big problem with RHEL6 quota codes, that quota updates are&lt;br/&gt;
not properly journaled.&lt;/p&gt;

&lt;p&gt;   Every ext4_mark_dquot_dirty is called, we skip and only add quota updates&lt;br/&gt;
to dirty list without journal it. This make quota updates only journaled in ext4_quota_write() which can be called in &apos;sync_file&apos; which only happen&lt;br/&gt;
during sync call or umount.&lt;/p&gt;

&lt;p&gt;     This will make big problem if we hit crash, we will lost many quota updates.&lt;/p&gt;</description>
                <environment>Running Lustre in RHEL6.</environment>
        <key id="37254">LU-8216</key>
            <summary>Quota updates are not properly journaled </summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="wangshilong">Wang Shilong</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 30 May 2016 14:42:40 +0000</created>
                <updated>Wed, 12 Oct 2016 15:00:54 +0000</updated>
                            <resolved>Wed, 22 Jun 2016 15:14:28 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="153973" author="gerrit" created="Mon, 30 May 2016 14:43:39 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20503&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8216&quot; title=&quot;Quota updates are not properly journaled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8216&quot;&gt;&lt;del&gt;LU-8216&lt;/del&gt;&lt;/a&gt; ldiskfs: fix journal quota files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9d519f9900fe1aa6c4d552fea20faf1346f0069a&lt;/p&gt;</comment>
                            <comment id="153975" author="pjones" created="Mon, 30 May 2016 15:01:20 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please review this proposed change?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="155594" author="gerrit" created="Tue, 14 Jun 2016 03:49:10 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20503/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20503/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8216&quot; title=&quot;Quota updates are not properly journaled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8216&quot;&gt;&lt;del&gt;LU-8216&lt;/del&gt;&lt;/a&gt; ldiskfs: fix journal quota files&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d59d553dc18189dfc5e43196f7c8a2bd6346b675&lt;/p&gt;</comment>
                            <comment id="155663" author="bogl" created="Tue, 14 Jun 2016 14:42:50 +0000"  >&lt;p&gt;I see the change &lt;a href=&quot;http://review.whamcloud.com/20503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20503&lt;/a&gt; updates many of the ldiskfs patch series, but not those for el6.8, el7*, sles12*.  Is this change not needed there or was it left out by mistake?&lt;/p&gt;</comment>
                            <comment id="155716" author="wangshilong" created="Wed, 15 Jun 2016 00:00:48 +0000"  >&lt;p&gt;Hello Bob Glossman, I think we still need it for el6.8, maybe when i pushed patch, el6.8 is not yet merged into master.&lt;/p&gt;</comment>
                            <comment id="155717" author="gerrit" created="Wed, 15 Jun 2016 00:10:34 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20791&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20791&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8216&quot; title=&quot;Quota updates are not properly journaled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8216&quot;&gt;&lt;del&gt;LU-8216&lt;/del&gt;&lt;/a&gt; ldiskfs: fix journal quota files for rhel6.8&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 62056c1d43625696ec719d1f1d7e0f1d477b5c6e&lt;/p&gt;</comment>
                            <comment id="156429" author="gerrit" created="Wed, 22 Jun 2016 02:54:39 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20791/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20791/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8216&quot; title=&quot;Quota updates are not properly journaled &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8216&quot;&gt;&lt;del&gt;LU-8216&lt;/del&gt;&lt;/a&gt; ldiskfs: fix journal quota files for RHEL6.8&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e9d2e7d7ef86e322d1fbc9b01e549e133d8cecc5&lt;/p&gt;</comment>
                            <comment id="156500" author="jgmitter" created="Wed, 22 Jun 2016 15:14:28 +0000"  >&lt;p&gt;All patches have landed to master for 2.9.0&lt;/p&gt;</comment>
                            <comment id="164800" author="bruno.travouillon" created="Fri, 2 Sep 2016 13:47:41 +0000"  >&lt;p&gt;For the record, when we discovered this journaling issue, we added the following mount options to our mdt and osts : &lt;/p&gt;

&lt;p&gt;&lt;tt&gt;usrjquota=lquota.user,grpjquota=lquota.group,jqfmt=vfsv1&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;No fix needed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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>Mon, 30 May 2016 14:42:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyd3r:</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>Mon, 30 May 2016 14:42:40 +0000</customfieldvalue>

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