<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:19 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-7021] osd_trans_exec_check()) LBUG for ofd_write_attr_set</title>
                <link>https://jira.whamcloud.com/browse/LU-7021</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running a current master snapshot +;&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;pick 496b566 LU-6903 lov: call lov_object_find_cbdata() inside lock
pick fd5b2da LU-6727 osd: auto locate BH_DXLock bit
pick 174ca9c LU-6119 test: Add testing for Lustre exported via Samba
pick 7ccf098 LU-6356 ptlrpc: do not sleep if encpool reached max capacity
pick db3981e LU-6215 llite: handle backing_dev_info removal
pick c0aafaa LU-6846 llog: combine cancel rec and destroy
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I just hit this LBUG:&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;4&amp;gt;[ 5532.419038] Lustre: 5319:0:(osd_internal.h:1087:osd_trans_exec_check()) op 0: used 8, used now 8, reserved 1
&amp;lt;4&amp;gt;[ 5532.419630] Lustre: 5319:0:(osd_handler.c:902:osd_trans_dump_creds())   create: 0/0/0, destroy: 0/0/0
&amp;lt;4&amp;gt;[ 5532.420063] Lustre: 5319:0:(osd_handler.c:909:osd_trans_dump_creds())   attr_set: 1/1/8, xattr_set: 1/216/0
&amp;lt;4&amp;gt;[ 5532.420419] Lustre: 5319:0:(osd_handler.c:919:osd_trans_dump_creds())   write: 0/0/0, punch: 0/0/0, quota 2/2/0
&amp;lt;4&amp;gt;[ 5532.420804] Lustre: 5319:0:(osd_handler.c:926:osd_trans_dump_creds())   insert: 0/0/0, delete: 0/0/0
&amp;lt;4&amp;gt;[ 5532.421728] Lustre: 5319:0:(osd_handler.c:933:osd_trans_dump_creds())   ref_add: 0/0/0, ref_del: 0/0/0
&amp;lt;0&amp;gt;[ 5532.422069] LustreError: 5319:0:(osd_internal.h:1090:osd_trans_exec_check()) LBUG
&amp;lt;4&amp;gt;[ 5532.436922] Pid: 5319, comm: ll_ost_io01_004
&amp;lt;4&amp;gt;[ 5532.437212] 
&amp;lt;4&amp;gt;[ 5532.437213] Call Trace:
&amp;lt;4&amp;gt;[ 5532.437656]  [&amp;lt;ffffffffa12d9885&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
&amp;lt;4&amp;gt;[ 5532.442062]  [&amp;lt;ffffffffa12d9e87&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
&amp;lt;4&amp;gt;[ 5532.442360]  [&amp;lt;ffffffffa078b6c4&amp;gt;] osd_attr_set+0x284/0x620 [osd_ldiskfs]
&amp;lt;4&amp;gt;[ 5532.442653]  [&amp;lt;ffffffffa0adad4d&amp;gt;] dt_attr_set+0x8d/0x1a0 [ofd]
&amp;lt;4&amp;gt;[ 5532.442938]  [&amp;lt;ffffffffa0adb379&amp;gt;] ofd_write_attr_set+0x519/0x8b0 [ofd]
&amp;lt;4&amp;gt;[ 5532.446791]  [&amp;lt;ffffffffa0adb966&amp;gt;] ofd_commitrw_write+0x256/0xfc0 [ofd]
&amp;lt;4&amp;gt;[ 5532.447128]  [&amp;lt;ffffffffa0ae0f3d&amp;gt;] ? ofd_fmd_find_nolock+0xad/0xd0 [ofd]
&amp;lt;4&amp;gt;[ 5532.447427]  [&amp;lt;ffffffffa0adcc82&amp;gt;] ofd_commitrw+0x5b2/0xba0 [ofd]
&amp;lt;4&amp;gt;[ 5532.447736]  [&amp;lt;ffffffffa13cfac9&amp;gt;] ? lprocfs_counter_add+0x119/0x1c0 [obdclass]
&amp;lt;4&amp;gt;[ 5532.448233]  [&amp;lt;ffffffffa1676504&amp;gt;] obd_commitrw+0x114/0x380 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.448553]  [&amp;lt;ffffffffa167f8b0&amp;gt;] tgt_brw_write+0xc80/0x1550 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.448842]  [&amp;lt;ffffffff812918f0&amp;gt;] ? string+0x40/0x100
&amp;lt;4&amp;gt;[ 5532.449151]  [&amp;lt;ffffffffa15d2ce0&amp;gt;] ? target_bulk_timeout+0x0/0xc0 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.449627]  [&amp;lt;ffffffffa167e442&amp;gt;] tgt_request_handle+0xa42/0x1230 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.450133]  [&amp;lt;ffffffffa1629ab4&amp;gt;] ptlrpc_main+0xd74/0x1850 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.450687]  [&amp;lt;ffffffffa1628d40&amp;gt;] ? ptlrpc_main+0x0/0x1850 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.453814]  [&amp;lt;ffffffff8109ce4e&amp;gt;] kthread+0x9e/0xc0
&amp;lt;4&amp;gt;[ 5532.454167]  [&amp;lt;ffffffff8100c24a&amp;gt;] child_rip+0xa/0x20
&amp;lt;4&amp;gt;[ 5532.454431]  [&amp;lt;ffffffff8109cdb0&amp;gt;] ? kthread+0x0/0xc0
&amp;lt;4&amp;gt;[ 5532.454711]  [&amp;lt;ffffffff8100c240&amp;gt;] ? child_rip+0x0/0x20
&amp;lt;4&amp;gt;[ 5532.454901] 
&amp;lt;0&amp;gt;[ 5532.687417] Kernel panic - not syncing: LBUG
&amp;lt;4&amp;gt;[ 5532.687691] Pid: 5319, comm: ll_ost_io01_004 Tainted: P           ---------------    2.6.32-rhe6.6-debug #1
&amp;lt;4&amp;gt;[ 5532.688234] Call Trace:
&amp;lt;4&amp;gt;[ 5532.688461]  [&amp;lt;ffffffff8151dcd9&amp;gt;] ? panic+0xa7/0x16f
&amp;lt;4&amp;gt;[ 5532.688757]  [&amp;lt;ffffffffa12d9edb&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
&amp;lt;4&amp;gt;[ 5532.689072]  [&amp;lt;ffffffffa078b6c4&amp;gt;] ? osd_attr_set+0x284/0x620 [osd_ldiskfs]
&amp;lt;4&amp;gt;[ 5532.689376]  [&amp;lt;ffffffffa0adad4d&amp;gt;] ? dt_attr_set+0x8d/0x1a0 [ofd]
&amp;lt;4&amp;gt;[ 5532.689686]  [&amp;lt;ffffffffa0adb379&amp;gt;] ? ofd_write_attr_set+0x519/0x8b0 [ofd]
&amp;lt;4&amp;gt;[ 5532.690040]  [&amp;lt;ffffffffa0adb966&amp;gt;] ? ofd_commitrw_write+0x256/0xfc0 [ofd]
&amp;lt;4&amp;gt;[ 5532.690365]  [&amp;lt;ffffffffa0ae0f3d&amp;gt;] ? ofd_fmd_find_nolock+0xad/0xd0 [ofd]
&amp;lt;4&amp;gt;[ 5532.691261]  [&amp;lt;ffffffffa0adcc82&amp;gt;] ? ofd_commitrw+0x5b2/0xba0 [ofd]
&amp;lt;4&amp;gt;[ 5532.691261]  [&amp;lt;ffffffffa13cfac9&amp;gt;] ? lprocfs_counter_add+0x119/0x1c0 [obdclass]
&amp;lt;4&amp;gt;[ 5532.691261]  [&amp;lt;ffffffffa1676504&amp;gt;] ? obd_commitrw+0x114/0x380 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffffa167f8b0&amp;gt;] ? tgt_brw_write+0xc80/0x1550 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffff812918f0&amp;gt;] ? string+0x40/0x100
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffffa15d2ce0&amp;gt;] ? target_bulk_timeout+0x0/0xc0 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffffa167e442&amp;gt;] ? tgt_request_handle+0xa42/0x1230 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffffa1629ab4&amp;gt;] ? ptlrpc_main+0xd74/0x1850 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffffa1628d40&amp;gt;] ? ptlrpc_main+0x0/0x1850 [ptlrpc]
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffff8109ce4e&amp;gt;] ? kthread+0x9e/0xc0
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffff8100c24a&amp;gt;] ? child_rip+0xa/0x20
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffff8109cdb0&amp;gt;] ? kthread+0x0/0xc0
&amp;lt;4&amp;gt;[ 5532.700994]  [&amp;lt;ffffffff8100c240&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31527">LU-7021</key>
            <summary>osd_trans_exec_check()) LBUG for ofd_write_attr_set</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="4" iconUrl="https://jira.whamcloud.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Aug 2015 22:40:44 +0000</created>
                <updated>Thu, 6 May 2021 07:29:58 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="124634" author="jgmitter" created="Wed, 19 Aug 2015 18:48:53 +0000"  >&lt;p&gt;HI Alex,&lt;br/&gt;
Can you look into this?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="168013" author="green" created="Mon, 3 Oct 2016 01:30:45 +0000"  >&lt;p&gt;I think I hit this once again (in racer):&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;[202560.034938] Lustre: 21256:0:(osd_internal.h:1136:osd_trans_exec_check()) lustre-OST0000: opcode 0: used 5, used now 5, reserved 1
[202560.036170] Lustre: 21256:0:(osd_handler.c:1639:osd_trans_dump_creds())   create: 0/0/0, destroy: 0/0/0
[202560.037325] Lustre: 21256:0:(osd_handler.c:1646:osd_trans_dump_creds())   attr_set: 1/1/5, xattr_set: 1/14/0
[202560.040563] Lustre: 21256:0:(osd_handler.c:1656:osd_trans_dump_creds())   write: 0/0/0, punch: 0/0/0, quota 2/2/0
[202560.041736] Lustre: 21256:0:(osd_handler.c:1663:osd_trans_dump_creds())   insert: 0/0/0, delete: 0/0/0
[202560.042886] Lustre: 21256:0:(osd_handler.c:1670:osd_trans_dump_creds())   ref_add: 0/0/0, ref_del: 0/0/0
[202560.044024] LustreError: 21256:0:(osd_internal.h:1139:osd_trans_exec_check()) LBUG
[202560.055301] Pid: 21256, comm: ll_ost_io00_005
[202560.055873] 
Call Trace:
[202560.056930]  [&amp;lt;ffffffffa02227b3&amp;gt;] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
[202560.057572]  [&amp;lt;ffffffffa0222d55&amp;gt;] lbug_with_loc+0x45/0xc0 [libcfs]
[202560.058198]  [&amp;lt;ffffffffa0af750b&amp;gt;] osd_it_ea_rec.part.94+0x0/0x36 [osd_ldiskfs]
[202560.080192]  [&amp;lt;ffffffffa0ac640d&amp;gt;] osd_attr_set+0x55d/0x9b0 [osd_ldiskfs]
[202560.080832]  [&amp;lt;ffffffffa0d59a6d&amp;gt;] ofd_commitrw_write+0x128d/0x1bf0 [ofd]
[202560.081469]  [&amp;lt;ffffffffa0d5cf4d&amp;gt;] ofd_commitrw+0x51d/0xa30 [ofd]
[202560.082111]  [&amp;lt;ffffffffa04fb185&amp;gt;] ? lprocfs_counter_add+0x195/0x1e0 [obdclass]
[202560.083575]  [&amp;lt;ffffffffa098efb3&amp;gt;] obd_commitrw+0x2ec/0x32f [ptlrpc]
[202560.084236]  [&amp;lt;ffffffffa09686ea&amp;gt;] tgt_brw_write+0xeaa/0x1650 [ptlrpc]
[202560.084881]  [&amp;lt;ffffffffa095f194&amp;gt;] ? req_can_reconstruct+0x44/0x110 [ptlrpc]
[202560.085540]  [&amp;lt;ffffffffa08c0220&amp;gt;] ? target_bulk_timeout+0x0/0xb0 [ptlrpc]
[202560.100228]  [&amp;lt;ffffffffa0964965&amp;gt;] tgt_request_handle+0x925/0x1330 [ptlrpc]
[202560.100824]  [&amp;lt;ffffffffa0911be1&amp;gt;] ptlrpc_server_handle_request+0x231/0xac0 [ptlrpc]
[202560.101838]  [&amp;lt;ffffffffa090f798&amp;gt;] ? ptlrpc_wait_event+0xb8/0x370 [ptlrpc]
[202560.102422]  [&amp;lt;ffffffffa09159f8&amp;gt;] ptlrpc_main+0xa58/0x1dd0 [ptlrpc]
[202560.102977]  [&amp;lt;ffffffffa0914fa0&amp;gt;] ? ptlrpc_main+0x0/0x1dd0 [ptlrpc]
[202560.103785]  [&amp;lt;ffffffff810a2eda&amp;gt;] kthread+0xea/0xf0
[202560.104304]  [&amp;lt;ffffffff810a2df0&amp;gt;] ? kthread+0x0/0xf0
[202560.104829]  [&amp;lt;ffffffff8170fbd8&amp;gt;] ret_from_fork+0x58/0x90
[202560.105356]  [&amp;lt;ffffffff810a2df0&amp;gt;] ? kthread+0x0/0xf0
[202560.106077] 
[202560.137168] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="168898" author="gerrit" created="Mon, 10 Oct 2016 10:01:18 +0000"  >&lt;p&gt;Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23043&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23043&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7021&quot; title=&quot;osd_trans_exec_check()) LBUG for ofd_write_attr_set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7021&quot;&gt;LU-7021&lt;/a&gt; osd: remove credits optimization from osd_declare_qid()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e332b64edc725db035ca5a3991274100bcda41c1&lt;/p&gt;</comment>
                            <comment id="300654" author="bzzz" created="Thu, 6 May 2021 07:29:58 +0000"  >&lt;p&gt;I&apos;m still hitting this from time to time, with additional debugging found that:&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;
decl: 
0-&amp;gt;0
0-&amp;gt;0
0-&amp;gt;0

exec: 
3202-&amp;gt;0
29997-&amp;gt;0
0-&amp;gt;0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;i.e. at declaration no ID was going to change, but UID/GID got changed by execution.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31392">LU-6969</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57684">LU-13093</issuekey>
        </issuelink>
                            </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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxkrb:</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>