<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:20:08 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-1840] ldlm_resource_get returns to user space without dropping lr_lvb_mutex</title>
                <link>https://jira.whamcloud.com/browse/LU-1840</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I got following warnings:&lt;/p&gt;

&lt;p&gt;================================================&lt;br/&gt;
[ BUG: lock held when returning to user space! ]&lt;br/&gt;
3.6.0-rc3 #1 Tainted: G           O&lt;br/&gt;
------------------------------------------------&lt;br/&gt;
bash/1868 is leaving the kernel with locks still held!&lt;br/&gt;
1 lock held by bash/1868:&lt;br/&gt;
 #0:  (&amp;amp;res-&amp;gt;lr_lvb_mutex)&lt;/p&gt;
{......}
&lt;p&gt;, at: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa041a18c&amp;gt;&amp;#93;&lt;/span&gt; ldlm_resource_get+0x2cc/0x880 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="15706">LU-1840</key>
            <summary>ldlm_resource_get returns to user space without dropping lr_lvb_mutex</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="bergwolf">Peng Tao</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 5 Sep 2012 23:09:31 +0000</created>
                <updated>Wed, 13 Mar 2013 10:44:07 +0000</updated>
                            <resolved>Mon, 5 Nov 2012 13:44:21 +0000</resolved>
                                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="44257" author="bergwolf" created="Wed, 5 Sep 2012 23:12:33 +0000"  >&lt;p&gt;patch submitted:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/3883&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3883&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="47407" author="utopiabound" created="Mon, 5 Nov 2012 13:44:21 +0000"  >&lt;p&gt;Change has been successfully cherry-picked as e6d5d5508231fca83cb306af69a877a7101de37a&lt;/p&gt;</comment>
                            <comment id="53912" author="artem_blagodarenko" created="Wed, 13 Mar 2013 10:44:07 +0000"  >&lt;p&gt;This bug is actual for 2.1 (without &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1840&quot; title=&quot;ldlm_resource_get returns to user space without dropping lr_lvb_mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1840&quot;&gt;&lt;del&gt;LU-1840&lt;/del&gt;&lt;/a&gt; patch applied). This BUG happened two day ago:&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;Feb 16 02:25:04 rhel6-64 kernel: Lustre: MGS: Regenerating lustre-MDTffff log by user request.
Feb 16 02:25:04 rhel6-64 kernel: Lustre: Setting parameter lustre-MDT0000-mdtlov.lov.stripesize in log lustre-MDT0000
Feb 16 02:25:04 rhel6-64 kernel: Lustre: Setting parameter lustre-MDT0000-mdtlov.lov.stripecount in log lustre-MDT0000
Feb 16 02:25:04 rhel6-64 kernel: Lustre: Skipped 1 previous similar message

=========================
[ BUG: held lock freed! ]
-------------------------
ll_mgs_02/16035 is freeing memory ffff8800a4da4dc0-ffff8800a4da4e57, with a lock still held there!
 (&amp;amp;res-&amp;gt;lr_lvb_mutex){+.+...}, at: [&amp;lt;ffffffffa076e509&amp;gt;] ldlm_resource_get+0x2a9/0x790 [ptlrpc]
1 lock held by ll_mgs_02/16035:
 #0:  (&amp;amp;res-&amp;gt;lr_lvb_mutex){+.+...}, at: [&amp;lt;ffffffffa076e509&amp;gt;] ldlm_resource_get+0x2a9/0x790 [ptlrpc]

stack backtrace:
Pid: 16035, comm: ll_mgs_02 Tainted: G        W  ----------------   2.6.32-131.17.1-osg #0
Call Trace:
 [&amp;lt;ffffffff810a89b4&amp;gt;] ? debug_check_no_locks_freed+0x164/0x170
 [&amp;lt;ffffffff810a3677&amp;gt;] ? debug_mutex_init+0x27/0x50
 [&amp;lt;ffffffff81095751&amp;gt;] ? __mutex_init+0x61/0x70
 [&amp;lt;ffffffffa076e4fe&amp;gt;] ? ldlm_resource_get+0x29e/0x790 [ptlrpc]
 [&amp;lt;ffffffff814fb880&amp;gt;] ? _spin_unlock_irqrestore+0x40/0x80
 [&amp;lt;ffffffffa0767e45&amp;gt;] ? ldlm_lock_create+0x55/0xaa0 [ptlrpc]
 [&amp;lt;ffffffffa078f194&amp;gt;] ? ldlm_handle_enqueue0+0x164/0xf60 [ptlrpc]
 [&amp;lt;ffffffffa078fff6&amp;gt;] ? ldlm_handle_enqueue+0x66/0x70 [ptlrpc]
 [&amp;lt;ffffffffa0790000&amp;gt;] ? ldlm_server_completion_ast+0x0/0x620 [ptlrpc]
 [&amp;lt;ffffffffa0790620&amp;gt;] ? ldlm_server_blocking_ast+0x0/0x860 [ptlrpc]
 [&amp;lt;ffffffffa0c10b9a&amp;gt;] ? mgs_handle+0x68a/0x1800 [mgs]
 [&amp;lt;ffffffffa04e3fe1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
 [&amp;lt;ffffffffa04df424&amp;gt;] ? libcfs_id2str+0x74/0xb0 [libcfs]
 [&amp;lt;ffffffffa07bc6d4&amp;gt;] ? ptlrpc_server_handle_request+0x474/0x1050 [ptlrpc]
 [&amp;lt;ffffffffa04d85ae&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa04e5bff&amp;gt;] ? lc_watchdog_touch+0x6f/0x180 [libcfs]
 [&amp;lt;ffffffffa07b5ee2&amp;gt;] ? ptlrpc_wait_event+0xb2/0x2c0 [ptlrpc]
 [&amp;lt;ffffffffa07b8156&amp;gt;] ? ptlrpc_server_handle_req_in+0xa66/0xcc0 [ptlrpc]
 [&amp;lt;ffffffffa07bec74&amp;gt;] ? ptlrpc_main+0x5c4/0xcd0 [ptlrpc]
 [&amp;lt;ffffffff810a85fd&amp;gt;] ? trace_hardirqs_on_caller+0x14d/0x190
 [&amp;lt;ffffffffa07be6b0&amp;gt;] ? ptlrpc_main+0x0/0xcd0 [ptlrpc]
 [&amp;lt;ffffffff8100c28a&amp;gt;] ? child_rip+0xa/0x20
 [&amp;lt;ffffffff8100bbd0&amp;gt;] ? restore_args+0x0/0x30
 [&amp;lt;ffffffffa07be6b0&amp;gt;] ? ptlrpc_main+0x0/0xcd0 [ptlrpc]
 [&amp;lt;ffffffff8100c280&amp;gt;] ? child_rip+0x0/0x20
Lustre: 16047:0:(osd_handler.c:234:osd_push_ctxt()) ucred is not initialized
Lustre: 16047:0:(osd_handler.c:234:osd_push_ctxt()) ucred is not initialized
Feb 16 02:25:04 rhel6-64 kernel:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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|hzvgkv:</customfieldvalue>

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