<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:50 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-5362] (mdc_locks.c:235:mdc_clear_replay_flag()) LBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-5362</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In mdc_enqueue() if ldlm_cli_enqueue() fails but the request has a transno then I see the folllowing:&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;[  257.072572] LustreError: 19779:0:(mdc_locks.c:904:mdc_enqueue()) @@@ transno returned on error rc -12  req@ffff8801f6191330 x1473823878678260/t4294967302(4294967302) o101-&amp;gt;lustre-MDT0000-mdc-ffff8801f03e8ee0@0@lo:12/10 lens 632/544 e 0 to 0 dl 1405548101 ref 2 fl Complete:R/4/0 rc 0/0
[  257.076802] LustreError: 19779:0:(mdc_locks.c:904:mdc_enqueue()) LBUG
[  257.077920] Pid: 19779, comm: sys_open
[  257.078613] 
[  257.078614] Call Trace:
[  257.079369]  [&amp;lt;ffffffffa02be8c5&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[  257.080581]  [&amp;lt;ffffffffa02beec7&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
[  257.081681]  [&amp;lt;ffffffffa090ec36&amp;gt;] mdc_enqueue+0x1a26/0x1ab0 [mdc]
[  257.082731]  [&amp;lt;ffffffffa090eea2&amp;gt;] mdc_intent_lock+0x1e2/0x52f [mdc]
[  257.083853]  [&amp;lt;ffffffffa0e79110&amp;gt;] ? ll_md_blocking_ast+0x0/0x800 [lustre]
[  257.085084]  [&amp;lt;ffffffffa0661b70&amp;gt;] ? ldlm_completion_ast+0x0/0x930 [ptlrpc]
[  257.086282]  [&amp;lt;ffffffffa08c8d1b&amp;gt;] lmv_intent_open+0x31b/0x9f0 [lmv]
[  257.087380]  [&amp;lt;ffffffffa0e79110&amp;gt;] ? ll_md_blocking_ast+0x0/0x800 [lustre]
[  257.088552]  [&amp;lt;ffffffffa08c96d0&amp;gt;] lmv_intent_lock+0x2e0/0x1180 [lmv]
[  257.089691]  [&amp;lt;ffffffffa041c5e6&amp;gt;] ? obd_alloc_fail+0x56/0x4e0 [obdclass]
[  257.090846]  [&amp;lt;ffffffff81186c34&amp;gt;] ? kmem_cache_alloc_trace+0x254/0x2b0
[  257.092020]  [&amp;lt;ffffffffa0e76f79&amp;gt;] ? ll_i2suppgid+0x19/0x30 [lustre]
[  257.093145]  [&amp;lt;ffffffffa0e76fbe&amp;gt;] ? ll_i2gids+0x2e/0xd0 [lustre]
[  257.094185]  [&amp;lt;ffffffffa0e79110&amp;gt;] ? ll_md_blocking_ast+0x0/0x800 [lustre]
[  257.095381]  [&amp;lt;ffffffffa0e7ad1a&amp;gt;] ll_lookup_it+0x25a/0xad0 [lustre]
[  257.096489]  [&amp;lt;ffffffffa0e7b61c&amp;gt;] ll_lookup_nd+0x8c/0x4a0 [lustre]
[  257.097564]  [&amp;lt;ffffffff811b29b5&amp;gt;] do_lookup+0x1a5/0x230
[  257.098477]  [&amp;lt;ffffffff811b2fc4&amp;gt;] __link_path_walk+0x584/0x840
[  257.099492]  [&amp;lt;ffffffff811b398a&amp;gt;] path_walk+0x6a/0xe0
[  257.100401]  [&amp;lt;ffffffff811b3b9b&amp;gt;] filename_lookup+0x6b/0xc0
[  257.101374]  [&amp;lt;ffffffff811b5074&amp;gt;] do_filp_open+0x104/0xd30
[  257.102348]  [&amp;lt;ffffffff811c255b&amp;gt;] ? alloc_fd+0x3b/0x160
[  257.103249]  [&amp;lt;ffffffff811c255b&amp;gt;] ? alloc_fd+0x3b/0x160
[  257.104156]  [&amp;lt;ffffffff815547cb&amp;gt;] ? _spin_unlock+0x2b/0x40
[  257.105111]  [&amp;lt;ffffffff811c25cb&amp;gt;] ? alloc_fd+0xab/0x160
[  257.105978]  [&amp;lt;ffffffff8119f809&amp;gt;] do_sys_open+0x69/0x140
[  257.106901]  [&amp;lt;ffffffff81554222&amp;gt;] ? trace_hardirqs_on_thunk+0x3a/0x3f
[  257.108009]  [&amp;lt;ffffffff8119f920&amp;gt;] sys_open+0x20/0x30
[  257.108903]  [&amp;lt;ffffffff8100b072&amp;gt;] system_call_fastpath+0x16/0x1b
[  257.109934] 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note that there are several ways that ldlm_cli_enqueue() may fail even if the request succeeded. Failure from ldlm_cli_enqueue_fini() is one example. This was found via memory allocation fault injection, specifically failing in ldlm_resource_new().&lt;/p&gt;</description>
                <environment></environment>
        <key id="25626">LU-5362</key>
            <summary>(mdc_locks.c:235:mdc_clear_replay_flag()) LBUG</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>fault</label>
                            <label>ldlm</label>
                            <label>mdc</label>
                    </labels>
                <created>Wed, 16 Jul 2014 22:26:26 +0000</created>
                <updated>Sat, 16 Oct 2021 08:53:55 +0000</updated>
                                            <version>Lustre 2.7.0</version>
                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="232992" author="green" created="Tue, 4 Sep 2018 16:22:12 +0000"  >&lt;p&gt;Still happening with 2.12 too.&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;[  491.544077] LustreError: 25274:0:(mdc_locks.c:202:mdc_clear_replay_flag()) @@@ transno returned on error rc -5  req@ffff8800912e6c80 x1610652424649696/t4295299960(4295299960) o101-&amp;gt;lustre-MDT0000-mdc-ffff88005ad40800@0@lo:12/10 lens 376/312 e 0 to 0 dl 1536038359 ref 1 fl Complete:R/0/0 rc 0/0
[  491.544079] LustreError: 25274:0:(mdc_locks.c:203:mdc_clear_replay_flag()) LBUG
[  491.544080] Pid: 25274, comm: dd 3.10.0-7.5-debug #2 SMP Sat Jun 2 18:41:57 EDT 2018
[  491.544081] Call Trace:
[  491.544097]  [&amp;lt;ffffffffa01a67dc&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
[  491.544102]  [&amp;lt;ffffffffa01a688c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
[  491.544108]  [&amp;lt;ffffffffa0853049&amp;gt;] osc_env_info.part.16+0x0/0x39 [mdc]
[  491.544112]  [&amp;lt;ffffffffa084ac11&amp;gt;] mdc_enqueue_base+0x1771/0x19d0 [mdc]
[  491.544117]  [&amp;lt;ffffffffa084b5bf&amp;gt;] mdc_intent_lock+0x12f/0x550 [mdc]
[  491.544122]  [&amp;lt;ffffffffa0514586&amp;gt;] lmv_intent_lookup+0x226/0xb40 [lmv]
[  491.544125]  [&amp;lt;ffffffffa0515209&amp;gt;] lmv_intent_lock+0x369/0xba0 [lmv]
[  491.544137]  [&amp;lt;ffffffffa0e238cf&amp;gt;] ll_layout_intent+0x20f/0x770 [lustre]
[  491.544147]  [&amp;lt;ffffffffa0e34d98&amp;gt;] ll_layout_write_intent+0x58/0x110 [lustre]
[  491.544159]  [&amp;lt;ffffffffa0e72d7d&amp;gt;] vvp_io_fini+0x20d/0x6b0 [lustre]
[  491.544169]  [&amp;lt;ffffffffa0e732a5&amp;gt;] vvp_io_setattr_fini+0x45/0x80 [lustre]
[  491.544204]  [&amp;lt;ffffffffa036ab85&amp;gt;] cl_io_fini+0x75/0x250 [obdclass]
[  491.544213]  [&amp;lt;ffffffffa0e6bda4&amp;gt;] cl_setattr_ost+0x154/0x3c0 [lustre]
[  491.544221]  [&amp;lt;ffffffffa0e48408&amp;gt;] ll_setattr_raw+0xe78/0xed0 [lustre]
[  491.544228]  [&amp;lt;ffffffffa0e484cc&amp;gt;] ll_setattr+0x6c/0xd0 [lustre]
[  491.544231]  [&amp;lt;ffffffff8122cd41&amp;gt;] notify_change+0x2c1/0x420
[  491.544233]  [&amp;lt;ffffffff8120b7f5&amp;gt;] do_truncate+0x75/0xc0
[  491.544235]  [&amp;lt;ffffffff8120bbf0&amp;gt;] do_sys_ftruncate.constprop.19+0x120/0x180
[  491.544236]  [&amp;lt;ffffffff8120bc8e&amp;gt;] SyS_ftruncate+0xe/0x10
[  491.544239]  [&amp;lt;ffffffff817838e9&amp;gt;] system_call_fastpath+0x16/0x1b
[  491.544242]  [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="249733" author="green" created="Mon, 24 Jun 2019 05:29:41 +0000"  >&lt;p&gt;This hits on master/master-next still&lt;/p&gt;

&lt;p&gt;and the frequency somewhat increases with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11623&quot; title=&quot;Allow caching of open-created dentries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11623&quot;&gt;LU-11623&lt;/a&gt; patches so we really need to do something here I guess.&lt;/p&gt;</comment>
                            <comment id="315778" author="askulysh" created="Sat, 16 Oct 2021 08:53:55 +0000"  >&lt;p&gt;It looks like a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15120&quot; title=&quot;racer_1 test: client crash: mdc_clear_replay_flag()) LBUG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15120&quot;&gt;LU-15120&lt;/a&gt;&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|hzwrnj:</customfieldvalue>

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