<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:50 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-2745] lnet_create_reply_msg</title>
                <link>https://jira.whamcloud.com/browse/LU-2745</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;NULL == msg cause lockup&lt;/p&gt;</description>
                <environment></environment>
        <key id="17434">LU-2745</key>
            <summary>lnet_create_reply_msg</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="liang">Liang Zhen</assignee>
                                    <reporter username="thfeathers">thfeathers</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 07:31:43 +0000</created>
                <updated>Tue, 31 Dec 2013 15:54:22 +0000</updated>
                            <resolved>Tue, 19 Nov 2013 14:06:59 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.4.2</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="51720" author="liang" created="Mon, 4 Feb 2013 09:03:28 +0000"  >&lt;p&gt;Could you provide a little more details? e.g. which version and when it can happen, how the lockup looks like, thanks.&lt;/p&gt;</comment>
                            <comment id="52966" author="thfeathers" created="Mon, 25 Feb 2013 10:54:50 +0000"  >&lt;p&gt;i just browsed the source code 2.3.0 &lt;br/&gt;
function : lnet_create_reply_msg&lt;br/&gt;
//------------------------------------------------------------------&lt;br class=&quot;atl-forced-newline&quot; /&gt;&lt;/p&gt;

&lt;p&gt;cpt = lnet_cpt_of_cookie(getmd-&amp;gt;md_lh.lh_cookie);&lt;br/&gt;
	lnet_res_lock(cpt);&lt;font color=&quot;red&quot;&gt;//lock res&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;        LASSERT (getmd-&amp;gt;md_refcount &amp;gt; 0);&lt;/p&gt;

&lt;p&gt;                if (msg == NULL) {&lt;br/&gt;
                CERROR (&quot;%s: Dropping REPLY from %s: can&apos;t allocate msg\n&quot;,&lt;br/&gt;
                        libcfs_nid2str(ni-&amp;gt;ni_nid), libcfs_id2str(peer_id));&lt;br/&gt;
                &lt;font color=&quot;red&quot;&gt;//------------------here!goto with hold the res lock&lt;/font&gt;&lt;br/&gt;
                goto drop;&lt;br/&gt;
        }&lt;/p&gt;

&lt;p&gt;        if (getmd-&amp;gt;md_threshold == 0) {&lt;br/&gt;
                CERROR (&quot;%s: Dropping REPLY from %s for inactive MD %p\n&quot;,&lt;br/&gt;
                        libcfs_nid2str(ni-&amp;gt;ni_nid), libcfs_id2str(peer_id), &lt;br/&gt;
                        getmd);&lt;br/&gt;
        &lt;font color=&quot;red&quot;&gt;//-------------------here!goto with release the res lock&lt;/font&gt;&lt;br/&gt;
		lnet_res_unlock(cpt);&lt;br/&gt;
		goto drop;&lt;br/&gt;
	}&lt;/p&gt;</comment>
                            <comment id="52979" author="liang" created="Mon, 25 Feb 2013 19:49:31 +0000"  >&lt;p&gt;ah, thanks, I will post a patch.&lt;/p&gt;</comment>
                            <comment id="53086" author="liang" created="Wed, 27 Feb 2013 03:03:10 +0000"  >&lt;p&gt;patch is here: &lt;a href=&quot;http://review.whamcloud.com/#change,5542&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5542&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66469" author="liang" created="Thu, 12 Sep 2013 07:58:08 +0000"  >&lt;p&gt;patch landed&lt;/p&gt;</comment>
                            <comment id="66470" author="liang" created="Thu, 12 Sep 2013 07:59:13 +0000"  >&lt;p&gt;hmm, it&apos;s not landed, reopen it.&lt;/p&gt;</comment>
                            <comment id="71884" author="pjones" created="Tue, 19 Nov 2013 14:06:59 +0000"  >&lt;p&gt;It&apos;s landed for 2.6 now &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&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|hzviiv:</customfieldvalue>

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