<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:08:49 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-619] Recursive locking in ldlm_lock_change_resource</title>
                <link>https://jira.whamcloud.com/browse/LU-619</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I am using a vanilla kernel built with additional lock debugging. After mounting the Lustre, the first invocation of a simple &apos;ls&apos; command results in a kernel warning of a recursive lock.&lt;/p&gt;

&lt;p&gt;This is on the client side. Whether server 1.8 or 1.6 is used does not make a difference.&lt;/p&gt;

&lt;p&gt;The log below was taken with the following server packages, and the full log is attached:&lt;/p&gt;

&lt;p&gt;lustre: 1.8.6&lt;br/&gt;
kernel: patchless_client&lt;br/&gt;
build:  jenkins-wc1--PRISTINE-2.6.18-238.12.1.el5_lustre.g266a955&lt;/p&gt;


&lt;p&gt;=============================================&lt;br/&gt;
[ INFO: possible recursive locking detected ]&lt;br/&gt;
2.6.32.28-ml #8&lt;br/&gt;
---------------------------------------------&lt;br/&gt;
ls/1055 is trying to acquire lock:&lt;br/&gt;
 (&amp;amp;res-&amp;gt;lr_lock){&lt;ins&gt;.&lt;/ins&gt;...}, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02e0a27&amp;gt;&amp;#93;&lt;/span&gt; ldlm_lock_change_resource+0x127/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;but task is already holding lock:&lt;br/&gt;
 (&amp;amp;res-&amp;gt;lr_lock){&lt;ins&gt;.&lt;/ins&gt;...}, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02db163&amp;gt;&amp;#93;&lt;/span&gt; lock_res_and_lock+0x63/0xf0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;other info that might help us debug this:&lt;br/&gt;
3 locks held by ls/1055:&lt;br/&gt;
 #0:  (&amp;amp;sb-&amp;gt;s_type-&amp;gt;i_mutex_key#13){&lt;ins&gt;.&lt;/ins&gt;.+.}, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810d4e25&amp;gt;&amp;#93;&lt;/span&gt; do_lookup+0xd5/0x240&lt;br/&gt;
 #1:  (&amp;amp;lock-&amp;gt;l_lock){&lt;ins&gt;.&lt;/ins&gt;...}, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02db126&amp;gt;&amp;#93;&lt;/span&gt; lock_res_and_lock+0x26/0xf0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 #2:  (&amp;amp;res-&amp;gt;lr_lock){&lt;ins&gt;.&lt;/ins&gt;...}, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02db163&amp;gt;&amp;#93;&lt;/span&gt; lock_res_and_lock+0x63/0xf0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;stack backtrace:&lt;br/&gt;
Pid: 1055, comm: ls Not tainted 2.6.32.28-ml #8&lt;br/&gt;
Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8106a499&amp;gt;&amp;#93;&lt;/span&gt; __lock_acquire+0x1119/0x15d0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02e49d6&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_resource_get+0x696/0xc20 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8106a9b7&amp;gt;&amp;#93;&lt;/span&gt; lock_acquire+0x67/0x90&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02e0a27&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_lock_change_resource+0x127/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8137be1c&amp;gt;&amp;#93;&lt;/span&gt; _spin_lock+0x2c/0x40&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02e0a27&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_lock_change_resource+0x127/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>Client: Lustre b1_8 Git 999530e, Linux 2.6.32.8</environment>
        <key id="11545">LU-619</key>
            <summary>Recursive locking in ldlm_lock_change_resource</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="mark">Mark Hills</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Aug 2011 07:41:02 +0000</created>
                <updated>Mon, 29 May 2017 02:33:57 +0000</updated>
                            <resolved>Mon, 29 May 2017 02:33:57 +0000</resolved>
                                    <version>Lustre 1.8.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="19524" author="mark" created="Tue, 23 Aug 2011 07:43:54 +0000"  >&lt;p&gt;Kernel config&lt;/p&gt;</comment>
                            <comment id="197333" author="adilger" created="Mon, 29 May 2017 02:33:57 +0000"  >&lt;p&gt;Close old ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="12296">LU-811</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="10358" name="bug-lhr" size="18022" author="mark" created="Tue, 23 Aug 2011 07:41:02 +0000"/>
                            <attachment id="10359" name="config.gz" size="11508" author="mark" created="Tue, 23 Aug 2011 07:43:54 +0000"/>
                    </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|hzw3vr:</customfieldvalue>

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