<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:24 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-1523] ASSERTION(lock-&gt;l_req_mode == lock-&gt;l_granted_mode) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-1523</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is another case of OSS crashed since we upgraded servers to 2.1.1 due to LBUG.&lt;/p&gt;

&lt;p&gt;LustreError: 21890:0:(ost_handler.c:1675:ost_prolong_lock_one()) ASSERTION(lock-&amp;gt;l_req_mode == lock-&amp;gt;l_granted_mode) failed&lt;br/&gt;
LustreError: 21890:0:(ost_handler.c:1675:ost_prolong_lock_one()) LBUG&lt;br/&gt;
Pid: 21890, comm: ll_ost_io_304&lt;/p&gt;

&lt;p&gt;Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0578855&amp;gt;&amp;#93;&lt;/span&gt; libcfs_debug_dumpstack+0x55/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0578e95&amp;gt;&amp;#93;&lt;/span&gt; lbug_with_loc+0x75/0xe0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0583da6&amp;gt;&amp;#93;&lt;/span&gt; libcfs_assertion_failed+0x66/0x70 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0a4b3f9&amp;gt;&amp;#93;&lt;/span&gt; ost_prolong_lock_one+0xd9/0x110 &lt;span class=&quot;error&quot;&gt;&amp;#91;ost&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0a4b4b7&amp;gt;&amp;#93;&lt;/span&gt; ost_prolong_locks+0x87/0x280 &lt;span class=&quot;error&quot;&gt;&amp;#91;ost&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa075b960&amp;gt;&amp;#93;&lt;/span&gt; ? lustre_swab_niobuf_remote+0x0/0x30 &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;ffffffffa0a4bf55&amp;gt;&amp;#93;&lt;/span&gt; ost_rw_hpreq_check+0x195/0x440 &lt;span class=&quot;error&quot;&gt;&amp;#91;ost&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;The line it crashed is&lt;br/&gt;
    LASSERT(lock-&amp;gt;l_req_mode == lock-&amp;gt;l_granted_mode);&lt;br/&gt;
in ost_prolong_lock_one():&lt;/p&gt;

&lt;p&gt;static void ost_prolong_lock_one(struct ost_prolong_data *opd,&lt;br/&gt;
                                 struct ldlm_lock *lock)&lt;br/&gt;
{&lt;br/&gt;
        LASSERT(lock-&amp;gt;l_req_mode == lock-&amp;gt;l_granted_mode);   &amp;lt;===== THIS LINE&lt;br/&gt;
        LASSERT(lock-&amp;gt;l_export == opd-&amp;gt;opd_exp);&lt;/p&gt;

&lt;p&gt;        /* XXX: never try to grab resource lock here because we&apos;re inside&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;exp_bl_list_lock; in ldlm_lockd.c to handle waiting list we take&lt;/li&gt;
	&lt;li&gt;res lock and then exp_bl_list_lock. */&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;        if (!(lock-&amp;gt;l_flags &amp;amp; LDLM_FL_AST_SENT))&lt;br/&gt;
                /* ignore locks not being cancelled */&lt;br/&gt;
                return;&lt;/p&gt;

&lt;p&gt;        LDLM_DEBUG(lock,&lt;br/&gt;
                   &quot;refreshed for req x&quot;LPU64&quot; ext(&quot;LPU64&quot;-&amp;gt;&quot;LPU64&quot;) to %ds.\n&quot;,&lt;br/&gt;
                   opd-&amp;gt;opd_req-&amp;gt;rq_xid, opd-&amp;gt;opd_extent.start,&lt;br/&gt;
                   opd-&amp;gt;opd_extent.end, opd-&amp;gt;opd_timeout);&lt;/p&gt;

&lt;p&gt;        /* OK. this is a possible lock the user holds doing I/O&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;let&apos;s refresh eviction timer for it */&lt;br/&gt;
        ldlm_refresh_waiting_lock(lock, opd-&amp;gt;opd_timeout);&lt;br/&gt;
        ++opd-&amp;gt;opd_locks;&lt;br/&gt;
}&lt;/li&gt;
&lt;/ul&gt;

</description>
                <environment>server: lustre-2.1.1, el62, ofed-1.5.3.1&lt;br/&gt;
&lt;br/&gt;
git repo at &lt;a href=&quot;https://github.com/jlan/lustre-nas/commits/nas-2.1.1&quot;&gt;https://github.com/jlan/lustre-nas/commits/nas-2.1.1&lt;/a&gt;&lt;br/&gt;
</environment>
        <key id="14928">LU-1523</key>
            <summary>ASSERTION(lock-&gt;l_req_mode == lock-&gt;l_granted_mode) failed</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="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="3">Duplicate</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="jaylan">Jay Lan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jun 2012 18:13:21 +0000</created>
                <updated>Mon, 29 Oct 2012 14:11:06 +0000</updated>
                            <resolved>Thu, 14 Jun 2012 20:36:02 +0000</resolved>
                                    <version>Lustre 2.1.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="40605" author="pjones" created="Thu, 14 Jun 2012 18:44:22 +0000"  >&lt;p&gt;Yangsheng&lt;/p&gt;

&lt;p&gt;Is this a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1467&quot; title=&quot;ASSERTION(lock-&amp;gt;l_req_mode == lock-&amp;gt;l_granted_mode)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1467&quot;&gt;&lt;del&gt;LU-1467&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="40619" author="ys" created="Thu, 14 Jun 2012 20:36:02 +0000"  >&lt;p&gt;Yes, It duplicated &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1467&quot; title=&quot;ASSERTION(lock-&amp;gt;l_req_mode == lock-&amp;gt;l_granted_mode)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1467&quot;&gt;&lt;del&gt;LU-1467&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="14696">LU-1467</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvgvb:</customfieldvalue>

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