<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19:58 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-1820] (genops.c:766:class_export_destroy())    ASSERTION(cfs_list_empty(&amp;exp-&gt;exp_hp_rpcs)) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-1820</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ptlrpc_server_handle_req_in() call ptlrpc_server_request_add()&lt;br/&gt;
and hp request can be added to export-&amp;gt;exp_hp_rpcs, but reference&lt;br/&gt;
increase at ptlrpc_server_handle_request(). If class_disconnect() and&lt;br/&gt;
class_export_destroy() occures before ptlrpc_server_handle_request()&lt;br/&gt;
we got ASSERTION.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15666">LU-1820</key>
            <summary>(genops.c:766:class_export_destroy())    ASSERTION(cfs_list_empty(&amp;exp-&gt;exp_hp_rpcs)) 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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="aboyko">Alexander Boyko</reporter>
                        <labels>
                            <label>MB</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 4 Sep 2012 05:29:44 +0000</created>
                <updated>Wed, 24 Apr 2013 13:49:28 +0000</updated>
                            <resolved>Mon, 22 Apr 2013 16:09:22 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.3.0</fixVersion>
                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="44115" author="aboyko" created="Tue, 4 Sep 2012 05:33:43 +0000"  >&lt;p&gt;req &lt;a href=&quot;http://review.whamcloud.com/3855&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3855&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44826" author="pjones" created="Thu, 13 Sep 2012 18:54:59 +0000"  >&lt;p&gt;Liang&lt;/p&gt;

&lt;p&gt;Could you please make the necessary revisions to the existing patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="45382" author="pjones" created="Sat, 22 Sep 2012 01:12:44 +0000"  >&lt;p&gt;Landed for 2.3 and 2.4&lt;/p&gt;</comment>
                            <comment id="48236" author="nrutman" created="Wed, 21 Nov 2012 17:57:44 +0000"  >&lt;p&gt;Xyratex-bug-id: &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-649&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-649&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="55707" author="aboyko" created="Mon, 8 Apr 2013 08:21:27 +0000"  >&lt;p&gt;We have seen this assert again, sources contain the fix &lt;a href=&quot;http://review.whamcloud.com/3855&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3855&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The root cause of this bugs is the next part of target_handle_connect()&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;        if (req-&amp;gt;rq_export != NULL)
                class_export_put(req-&amp;gt;rq_export);
        /* request takes one export refcount */
        req-&amp;gt;rq_export = class_export_get(export);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;req-&amp;gt;rq_export was changed but export contain hp request (this is valid after connect became hp req).&lt;br/&gt;
And after that at ptlrpc_server_handle_req()&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;out_req:
       if (export != NULL)
               class_export_rpc_put(export);
       ptlrpc_server_finish_request(svcpt, request);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;1) delete last reference for the first export with hp req&lt;br/&gt;
2) ptlrpc_server_hpreq_fini() delete list entry for hp req&lt;/p&gt;

&lt;p&gt;This invalid logic cause topic assert.&lt;br/&gt;
Request for review to fix this - &lt;a href=&quot;http://review.whamcloud.com/#change,5922&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5922&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="56066" author="green" created="Thu, 11 Apr 2013 06:03:26 +0000"  >&lt;p&gt;Reopening in light of new evidence that the previous fix was incomplete&lt;/p&gt;</comment>
                            <comment id="56117" author="pjones" created="Thu, 11 Apr 2013 17:24:06 +0000"  >&lt;p&gt;Mike can you please review this latest patch?&lt;/p&gt;</comment>
                            <comment id="56696" author="pjones" created="Mon, 22 Apr 2013 16:09:22 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                            <comment id="56927" author="aboyko" created="Wed, 24 Apr 2013 13:49:28 +0000"  >&lt;p&gt;Xyratex-bug-id: &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-881&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MRP-881&lt;/a&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|hzv5in:</customfieldvalue>

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