<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:00 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-5612] typo in osd_declare_write()</title>
                <link>https://jira.whamcloud.com/browse/LU-5612</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This was introduced when porting the 3902ff4c54925b2f1fcb732a32ed7ee5428e9f77&lt;/p&gt;

&lt;p&gt;Some bits in osd_declare_write() are lost during porting.&lt;/p&gt;</description>
                <environment></environment>
        <key id="26507">LU-5612</key>
            <summary>typo in osd_declare_write()</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="niu">Niu Yawei</assignee>
                                    <reporter username="niu">Niu Yawei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Sep 2014 03:20:45 +0000</created>
                <updated>Sun, 28 Sep 2014 03:54:19 +0000</updated>
                            <resolved>Thu, 18 Sep 2014 03:36:21 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="93828" author="niu" created="Fri, 12 Sep 2014 03:31:47 +0000"  >&lt;p&gt;patch for b2_5: &lt;a href=&quot;http://review.whamcloud.com/11889&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11889&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="94342" author="pjones" created="Thu, 18 Sep 2014 03:36:21 +0000"  >&lt;p&gt;Landed for 2.5.4. Not needed on master,&lt;/p&gt;</comment>
                            <comment id="94998" author="haasken" created="Thu, 25 Sep 2014 20:50:24 +0000"  >&lt;p&gt;Niu, could this typo/omission be the cause for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5250&quot; title=&quot;OSSes with LU-4611: hitting J_ASSERT_JH(jh, handle-&amp;gt;h_buffer_credits &amp;gt; 0)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5250&quot;&gt;&lt;del&gt;LU-5250&lt;/del&gt;&lt;/a&gt;?  Did you see some symptoms that caused you to open this bug?&lt;/p&gt;</comment>
                            <comment id="95010" author="niu" created="Fri, 26 Sep 2014 01:51:47 +0000"  >&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;Niu, could &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; typo/omission be the cause &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; LU-5250? Did you see some symptoms that caused you to open &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; bug?
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5250&quot; title=&quot;OSSes with LU-4611: hitting J_ASSERT_JH(jh, handle-&amp;gt;h_buffer_credits &amp;gt; 0)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5250&quot;&gt;&lt;del&gt;LU-5250&lt;/del&gt;&lt;/a&gt; is probably dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;. This defect (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5612&quot; title=&quot;typo in osd_declare_write()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5612&quot;&gt;&lt;del&gt;LU-5612&lt;/del&gt;&lt;/a&gt;) was found while testing patch of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="95054" author="haasken" created="Fri, 26 Sep 2014 16:39:33 +0000"  >&lt;p&gt;Thanks for pointing those other tickets out.  Our stack trace is slightly different than those listed in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;.  Here it is, copied from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5250&quot; title=&quot;OSSes with LU-4611: hitting J_ASSERT_JH(jh, handle-&amp;gt;h_buffer_credits &amp;gt; 0)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5250&quot;&gt;&lt;del&gt;LU-5250&lt;/del&gt;&lt;/a&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;[exception RIP: jbd2_journal_dirty_metadata+268]
RIP: ffffffffa02cc86c RSP: ffff88087be375e0 RFLAGS: 00010246
RAX: ffff8806485b3bc0 RBX: ffff8806f520d588 RCX: ffff88084223bcf8
RDX: 0000000000000000 RSI: ffff88084223bcf8 RDI: 0000000000000000
RBP: ffff88087be37600 R8: f010000000000000 R9: f79fde5390e73e02
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801eb760748
R13: ffff88084223bcf8 R14: ffff88086b22d800 R15: 0000000000000c00
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#4 [ffff88087be37608] __ldiskfs_handle_dirty_metadata at ffffffffa02ee0bb [ldiskfs]
#5 [ffff88087be37648] ldiskfs_quota_write at ffffffffa0324b95 [ldiskfs]
#6 [ffff88087be376b8] write_blk at ffffffff811e44ae
#7 [ffff88087be376c8] remove_tree at ffffffff811e4da1
#8 [ffff88087be37738] remove_tree at ffffffff811e4bf8
#9 [ffff88087be377a8] remove_tree at ffffffff811e4bf8
#10 [ffff88087be37818] qtree_delete_dquot at ffffffff811e4fe3
#11 [ffff88087be37838] qtree_release_dquot at ffffffff811e501f
#12 [ffff88087be37848] v2_release_dquot at ffffffff811e3cc0
#13 [ffff88087be37858] dquot_release at ffffffff811df8e5
#14 [ffff88087be37898] ldiskfs_release_dquot at ffffffffa03235be [ldiskfs]
#15 [ffff88087be378b8] dqput at ffffffff811e0489
#16 [ffff88087be378e8] dquot_transfer at ffffffff811e3253
#17 [ffff88087be379c8] vfs_dq_transfer at ffffffff811dfc0c
#18 [ffff88087be379e8] osd_quota_transfer at ffffffffa0ba98a5 [osd_ldiskfs]
#19 [ffff88087be37a58] osd_attr_set at ffffffffa0bbcb8a [osd_ldiskfs]
#20 [ffff88087be37ab8] dt_attr_set.clone.2 at ffffffffa083a969 [ofd]
#21 [ffff88087be37ac8] ofd_attr_set at ffffffffa083e472 [ofd]
#22 [ffff88087be37b28] ofd_setattr at ffffffffa082fe68 [ofd]
#23 [ffff88087be37bb8] ost_setattr at ffffffffa06461fb [ost]
#24 [ffff88087be37c18] ost_handle at ffffffffa06491fd [ost]
#25 [ffff88087be37d68] ptlrpc_server_handle_request at ffffffffa06df4d5 [ptlrpc]
#26 [ffff88087be37e48] ptlrpc_main at ffffffffa06e083d [ptlrpc]
#27 [ffff88087be37ee8] kthread at ffffffff81096136
#28 [ffff88087be37f48] kernel_thread at ffffffff8100c0ca
#0 [ffff88087be37400] die at ffffffff8100f18b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is very similar to the stack traces posted by Mahmoud on August 4th in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;, but those stack traces are in dqget rather than dqput.&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;... 
[&amp;lt;ffffffff811e029c&amp;gt;] dqget+0x2ac/0x390^M
[&amp;lt;ffffffff811e1b86&amp;gt;] dquot_transfer+0x116/0x620^M
[&amp;lt;ffffffff811e09ab&amp;gt;] ? dquot_initialize+0x1fb/0x240^M
[&amp;lt;ffffffffa0be0558&amp;gt;] ? __ldiskfs_journal_stop+0x68/0xa0 [ldiskfs]^M
[&amp;lt;ffffffff811de4bc&amp;gt;] vfs_dq_transfer+0x6c/0xd0^M
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is this still the same bug?  Why are we hitting the assertion in dqput rather than dqget?&lt;/p&gt;</comment>
                            <comment id="95058" author="haasken" created="Fri, 26 Sep 2014 16:57:03 +0000"  >&lt;p&gt;Now that I look more closely at our own stack traces, it turns out we got a stack trace including &lt;tt&gt;dqget&lt;/tt&gt; and &lt;tt&gt;do_insert_tree&lt;/tt&gt; when we attempted to restart the file system after the crash.  Niu, can you confirm that the fix which landed for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt; fixes the bug shown in this stack trace:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-5040?focusedCommentId=90730&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-90730&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-5040?focusedCommentId=90730&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-90730&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That stack trace is not for the bug which was caused by this typo, is it?&lt;/p&gt;</comment>
                            <comment id="95139" author="niu" created="Sun, 28 Sep 2014 03:54:19 +0000"  >&lt;p&gt;Hi, Ryan&lt;/p&gt;

&lt;p&gt;I think it&apos;s not caused by this typo, however, this typo can cause insufficient credits in certain case definitely, so you&apos;d better have this fix as well.&lt;/p&gt;

&lt;p&gt;The different stack trace (the crash in dqput path) is indeed different with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;, it probably reveals another problem: When changing owner/group, if the original owner/group has no limits and current inode is the last file for original user/group, the quota entry could be deleted, that requires additional journal credits. This sounds a quite rare comparing with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5040&quot; title=&quot;kernel BUG at fs/jbd2/transaction.c:1033&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5040&quot;&gt;&lt;del&gt;LU-5040&lt;/del&gt;&lt;/a&gt;, I&apos;ll try to work out a fix in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5250&quot; title=&quot;OSSes with LU-4611: hitting J_ASSERT_JH(jh, handle-&amp;gt;h_buffer_credits &amp;gt; 0)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5250&quot;&gt;&lt;del&gt;LU-5250&lt;/del&gt;&lt;/a&gt;. Thanks for bringing this to my attention.&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|hzww3b:</customfieldvalue>

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