<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:02 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-3453] LBUG in mdt_intent_opc(), (layout.c:1916:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-3453</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On 2.4.50-56-gc42672d, I&apos;m seeing an LBUG in the call to req_capsule_server_get() from  mdt_intent_opc(). It follows &lt;br/&gt;
mdt_intent_layout() returning -ESTALE.&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;static int mdt_intent_opc(long itopc, struct mdt_thread_info *info,
                          struct ldlm_lock **lockp, __u64 flags)
{
...
        if (rc == 0 &amp;amp;&amp;amp; flv-&amp;gt;it_act != NULL) {
                struct ldlm_reply *rep;

                /* execute policy */
                rc = flv-&amp;gt;it_act(opc, info, lockp, flags);

                rep = req_capsule_server_get(pill, &amp;amp;RMF_DLM_REP);
                rep-&amp;gt;lock_policy_res2 =
                        ptlrpc_status_hton(rep-&amp;gt;lock_policy_res2);
        } else {
                rc = -EOPNOTSUPP;
        }
        RETURN(rc);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;00000004:00000001:3.0:1370903334.569591:0:745:0:(mdt_handler.c:5048:mdt_object_free()) Process leaving
00000020:00000001:3.0:1370903334.569593:0:745:0:(lu_object.c:238:lu_object_alloc()) Process leaving (rc=18446744073709551500 : -116 : ffffffffffffff8c)
00000004:00000001:3.0:1370903334.569596:0:745:0:(mdt_handler.c:2388:mdt_object_find()) Process leaving (rc=18446744073709551500 : -116 : ffffffffffffff8c)
00000004:00000001:3.0:1370903334.569598:0:745:0:(mdt_handler.c:3757:mdt_intent_layout()) Process leaving (rc=18446744073709551500 : -116 : ffffffffffffff8c)
00000100:00040000:3.0:1370903334.569602:0:745:0:(layout.c:1916:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed: 
00000100:00040000:3.0:1370903334.572661:0:745:0:(layout.c:1916:__req_capsule_get()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;Lustre: DEBUG MARKER: == sanity test 34h: ftruncate file under grouplock should not block == 17:28:54 (1370903334)
LustreError: 745:0:(layout.c:1916:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed: 
LustreError: 745:0:(layout.c:1916:__req_capsule_get()) LBUG
Pid: 745, comm: mdt01_000

Call Trace:
 [&amp;lt;ffffffffa0f5b895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [&amp;lt;ffffffffa0f5be97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
 [&amp;lt;ffffffffa1232de2&amp;gt;] __req_capsule_get+0x632/0x700 [ptlrpc]
 [&amp;lt;ffffffffa0f66d88&amp;gt;] ? libcfs_log_return+0x28/0x40 [libcfs]
 [&amp;lt;ffffffffa0f66d88&amp;gt;] ? libcfs_log_return+0x28/0x40 [libcfs]
 [&amp;lt;ffffffffa1232fb8&amp;gt;] req_capsule_server_get+0x18/0x20 [ptlrpc]
 [&amp;lt;ffffffffa06faf71&amp;gt;] mdt_intent_policy+0x3d1/0x760 [mdt]
 [&amp;lt;ffffffffa11c23f1&amp;gt;] ldlm_lock_enqueue+0x361/0x8d0 [ptlrpc]
 [&amp;lt;ffffffffa11e939f&amp;gt;] ldlm_handle_enqueue0+0x4ef/0x10b0 [ptlrpc]
 [&amp;lt;ffffffffa06fb406&amp;gt;] mdt_enqueue+0x46/0xe0 [mdt]
 [&amp;lt;ffffffffa0701af8&amp;gt;] mdt_handle_common+0x648/0x1660 [mdt]
 [&amp;lt;ffffffffa073b185&amp;gt;] mds_regular_handle+0x15/0x20 [mdt]
 [&amp;lt;ffffffffa121b6a8&amp;gt;] ptlrpc_server_handle_request+0x398/0xc60 [ptlrpc]
 [&amp;lt;ffffffffa0f5c5de&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa0f6dd8f&amp;gt;] ? lc_watchdog_touch+0x6f/0x170 [libcfs]
 [&amp;lt;ffffffffa1212a09&amp;gt;] ? ptlrpc_wait_event+0xa9/0x290 [ptlrpc]
 [&amp;lt;ffffffffa0f6c2c1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
 [&amp;lt;ffffffff81055ab3&amp;gt;] ? __wake_up+0x53/0x70
 [&amp;lt;ffffffffa121ca3e&amp;gt;] ptlrpc_main+0xace/0x1700 [ptlrpc]
 [&amp;lt;ffffffffa121bf70&amp;gt;] ? ptlrpc_main+0x0/0x1700 [ptlrpc]
 [&amp;lt;ffffffff8100c0ca&amp;gt;] child_rip+0xa/0x20
 [&amp;lt;ffffffffa121bf70&amp;gt;] ? ptlrpc_main+0x0/0x1700 [ptlrpc]
 [&amp;lt;ffffffffa121bf70&amp;gt;] ? ptlrpc_main+0x0/0x1700 [ptlrpc]
 [&amp;lt;ffffffff8100c0c0&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It&apos;s easily reproduced by running sanityn.sh in a loop.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19367">LU-3453</key>
            <summary>LBUG in mdt_intent_opc(), (layout.c:1916:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="liwei">Li Wei</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>mdt</label>
                    </labels>
                <created>Tue, 11 Jun 2013 13:37:48 +0000</created>
                <updated>Thu, 13 Jun 2013 21:42:48 +0000</updated>
                            <resolved>Thu, 13 Jun 2013 21:42:48 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="60347" author="utopiabound" created="Tue, 11 Jun 2013 14:25:27 +0000"  >&lt;p&gt;Seen in review on post 2.4 master&lt;br/&gt;
sanity/63b&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/0fd8ac52-d271-11e2-b1c7-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/0fd8ac52-d271-11e2-b1c7-52540035b04c&lt;/a&gt;&lt;br/&gt;
also same test run recovery-small/6&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/88da2792-d272-11e2-b1c7-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/88da2792-d272-11e2-b1c7-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60395" author="sarah" created="Tue, 11 Jun 2013 21:46:03 +0000"  >&lt;p&gt;Hit the same failure in master branch sanity test_118f&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/c1fc9f94-d161-11e2-9675-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/c1fc9f94-d161-11e2-9675-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60413" author="liwei" created="Wed, 12 Jun 2013 01:24:03 +0000"  >&lt;p&gt;I&apos;ll investigate this one.&lt;/p&gt;</comment>
                            <comment id="60441" author="adilger" created="Wed, 12 Jun 2013 14:58:59 +0000"  >&lt;p&gt;Hit again in recovery-small test_6 (failure rate reported at 7%):&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/sub_tests/895c613a-d272-11e2-b1c7-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/sub_tests/895c613a-d272-11e2-b1c7-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60443" author="bogl" created="Wed, 12 Jun 2013 15:04:50 +0000"  >&lt;p&gt;I think this may be another instance, but I&apos;m not 100% sure:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/ebafdf7c-d31e-11e2-ace1-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/ebafdf7c-d31e-11e2-ace1-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60448" author="adilger" created="Wed, 12 Jun 2013 16:15:44 +0000"  >&lt;p&gt;Increasing the priority of this bug. I thought it was only a rare failure (only four tests reported &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3453&quot; title=&quot;LBUG in mdt_intent_opc(), (layout.c:1916:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3453&quot;&gt;&lt;del&gt;LU-3453&lt;/del&gt;&lt;/a&gt; in Maloo), but in fact there are a large number of timeouts for recovery-small mislabeled as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1890&quot; title=&quot;Test failure on test suite recovery-small, subtest test_101&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1890&quot;&gt;&lt;del&gt;LU-1890&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;</comment>
                            <comment id="60451" author="adilger" created="Wed, 12 Jun 2013 16:31:44 +0000"  >&lt;p&gt;Also note that this appears to be a new bug, only failing since 2013-06-11, so it may be fastest to look at patches landed on or just before that day to see if something is obviously causing this regression. &lt;/p&gt;</comment>
                            <comment id="60467" author="jhammond" created="Wed, 12 Jun 2013 18:19:29 +0000"  >&lt;p&gt;Seems to be that mdt_intent_layout() can return without calling req_capsule_server_pack().&lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/6617&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6617&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="60596" author="jhammond" created="Thu, 13 Jun 2013 21:42:48 +0000"  >&lt;p&gt;Patch landed to master.&lt;/p&gt;

&lt;p&gt;Anyone up for an audit of the other 195 calls to req_capsule_server_get()?&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|hzvt1j:</customfieldvalue>

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