<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:10 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-5630] mdt_getattr_name_lock()) ASSERTION( lock != NULL ) </title>
                <link>https://jira.whamcloud.com/browse/LU-5630</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;2014-09-11 21:10:30 LustreError: 0:0:(ldlm_lockd.c:402:waiting_locks_callback()) ### lock callback timer expired after 100s: evicting client at 192.168.120.199@o2ib7  ns: mdt-lsd-MDT0000_UUID lock: ffff880321a4a480/0x6bd4680b789ee41f lrc: 4/0,0 mode: PR/PR res: [0x2000112f3:0xf:0x0].0 bits 0x13 rrc: 4 type: IBT flags: 0x200000000020 nid: 192.168.120.199@o2ib7 remote: 0xf350c14aff003b28 expref: 30 pid: 17248 timeout: 6838410913 lvb_type: 0 used 0
2014-09-11 21:10:30 LustreError: 15075:0:(mdt_handler.c:1423:mdt_getattr_name_lock()) ASSERTION( lock != NULL ) failed: Invalid lock handle 0x6bd4680b789ee41f
2014-09-11 21:10:30 LustreError: 15075:0:(mdt_handler.c:1423:mdt_getattr_name_lock()) LBUG
2014-09-11 21:10:30 Pid: 15075, comm: mdt00_069
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The backtrace is:&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;PID: 15075  TASK: ffff880d7001f540  CPU: 2   COMMAND: &quot;mdt00_069&quot;
 #0 [ffff880d70021938] machine_kexec+0x18b at ffffffff810391ab
 #1 [ffff880d70021998] crash_kexec+0x72 at ffffffff810c5ee2
 #2 [ffff880d70021a68] panic+0xae at ffffffff8152b247
 #3 [ffff880d70021ae8] lbug_with_loc+0x9b at ffffffffa0601f4b [libcfs]
 #4 [ffff880d70021b08] mdt_getattr_name_lock+0x18d0 at ffffffffa0e99900 [mdt]
 #5 [ffff880d70021bc8] mdt_intent_getattr+0x29d at ffffffffa0e99c5d [mdt]
 #6 [ffff880d70021c28] mdt_intent_policy+0x39e at ffffffffa0e86fde [mdt]
 #7 [ffff880d70021c68] ldlm_lock_enqueue+0x361 at ffffffffa08b8911 [ptlrpc]
 #8 [ffff880d70021cc8] ldlm_handle_enqueue0+0x4ef at ffffffffa08e1a7f [ptlrpc]
 #9 [ffff880d70021d38] mdt_enqueue+0x46 at ffffffffa0e87466 [mdt]
#10 [ffff880d70021d58] mdt_handle_common+0x647 at ffffffffa0e8c0d7 [mdt]
#11 [ffff880d70021da8] mds_regular_handle+0x15 at ffffffffa0ec7c75 [mdt]
#12 [ffff880d70021db8] ptlrpc_server_handle_request+0x398 at ffffffffa0912188 [ptlrpc]
#13 [ffff880d70021eb8] ptlrpc_main+0xace at ffffffffa091351e [ptlrpc]
#14 [ffff880d70021f48] child_rip+0xa at ffffffff8100c24a
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This looks like the same assertion assertion as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5579&quot; title=&quot;MDS crashed by &amp;quot;mdt_check_resent_lock()) ASSERTION( lock != NULL ) failed&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5579&quot;&gt;&lt;del&gt;LU-5579&lt;/del&gt;&lt;/a&gt;, but that was presumably hit on Lustre 2.6 or later.&lt;/p&gt;</description>
                <environment>Lustre 2.4.2-14chaos (see github.com/chaos/lustre)</environment>
        <key id="26588">LU-5630</key>
            <summary>mdt_getattr_name_lock()) ASSERTION( lock != NULL ) </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="5">Cannot Reproduce</resolution>
                                        <assignee username="green">Oleg Drokin</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Tue, 16 Sep 2014 00:59:47 +0000</created>
                <updated>Tue, 1 Feb 2022 07:18:06 +0000</updated>
                            <resolved>Tue, 14 Dec 2021 22:46:46 +0000</resolved>
                                    <version>Lustre 2.4.2</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="94128" author="liang" created="Tue, 16 Sep 2014 04:30:38 +0000"  >&lt;p&gt;I think this is an issue we also hit on master, Vitaly has already posted a patch on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5579&quot; title=&quot;MDS crashed by &amp;quot;mdt_check_resent_lock()) ASSERTION( lock != NULL ) failed&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5579&quot;&gt;&lt;del&gt;LU-5579&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="94139" author="pjones" created="Tue, 16 Sep 2014 11:47:31 +0000"  >&lt;p&gt;Oleg&lt;/p&gt;

&lt;p&gt;Can you confirm whether this is a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5579&quot; title=&quot;MDS crashed by &amp;quot;mdt_check_resent_lock()) ASSERTION( lock != NULL ) failed&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5579&quot;&gt;&lt;del&gt;LU-5579&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="94174" author="green" created="Tue, 16 Sep 2014 18:53:42 +0000"  >&lt;p&gt;Yes, I think the bug is the same.&lt;br/&gt;
Quickfix for b2_4 would be to just replace assert with return -ESTALE;&lt;/p&gt;

&lt;p&gt;This is not the final solution, I am starting to have my doubts that we should return ESTALE on resend as the client is not really at fault here and reprocessign the entire request might be a better idea.&lt;br/&gt;
I am going to disucss this idea with Vitaly, but at least this will fix the crash for now.&lt;/p&gt;</comment>
                            <comment id="94180" author="morrone" created="Tue, 16 Sep 2014 20:22:23 +0000"  >&lt;p&gt;How will the client behave when it gets ESTALE?&lt;/p&gt;</comment>
                            <comment id="94229" author="green" created="Wed, 17 Sep 2014 13:36:47 +0000"  >&lt;p&gt;I suspect ESTALE would propagate all the way up to userspace.&lt;/p&gt;

&lt;p&gt;On the other hand, if it&apos;s due to eviction of that same client, it does not matter due to a bunch of EIO and other stuff this client will get anyway.&lt;br/&gt;
In case of the Vitaly-described race where resend happens in parallel with delayed delivery of RPC for which the resend happened, ESTALE is just going to be dropped because the client will not be waiting for this duplicate reply.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="26299">LU-5579</issuekey>
        </issuelink>
                            </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 17 Sep 2014 00:59:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwwcn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15745</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>Tue, 16 Sep 2014 00:59:47 +0000</customfieldvalue>

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