<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:57:27 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-6128] LNet: Problem handling error when lnet_check_routes() fail.</title>
                <link>https://jira.whamcloud.com/browse/LU-6128</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In LNetCtl():&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;                LNET_MUTEX_LOCK(&amp;amp;the_lnet.ln_api_mutex);
                rc = lnet_add_route(config-&amp;gt;cfg_net,
                                    config-&amp;gt;cfg_config_u.cfg_route.rtr_hop,
                                    config-&amp;gt;cfg_nid,
                                    config-&amp;gt;cfg_config_u.cfg_route.
                                        rtr_priority);
                LNET_MUTEX_UNLOCK(&amp;amp;the_lnet.ln_api_mutex);
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; (rc != 0) ? rc : lnet_check_routes();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If lnet_check_routes() returns error, it means the route just added was invalid and must be removed, see LNetNIInit(). It&apos;s wrong to just return the error to user space:&lt;br/&gt;
1. User space would treat the error as a failure to add the route, but the route was indeed added already.&lt;br/&gt;
2. Two conflicting routes now live in the routing table.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28211">LU-6128</key>
            <summary>LNet: Problem handling error when lnet_check_routes() fail.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="ashehata">Amir Shehata</assignee>
                                    <reporter username="ashehata">Amir Shehata</reporter>
                        <labels>
                            <label>HB</label>
                    </labels>
                <created>Thu, 15 Jan 2015 16:56:20 +0000</created>
                <updated>Fri, 23 Jan 2015 05:19:45 +0000</updated>
                            <resolved>Fri, 23 Jan 2015 05:19:45 +0000</resolved>
                                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="103707" author="isaac" created="Fri, 16 Jan 2015 02:55:30 +0000"  >&lt;p&gt;I think the correct action would be to remove the route just added and return the error from lnet_check_routes().&lt;/p&gt;</comment>
                            <comment id="103785" author="gerrit" created="Fri, 16 Jan 2015 21:09:09 +0000"  >&lt;p&gt;Amir Shehata (amir.shehata@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13445&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13445&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6128&quot; title=&quot;LNet: Problem handling error when lnet_check_routes() fail.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6128&quot;&gt;&lt;del&gt;LU-6128&lt;/del&gt;&lt;/a&gt; lnet: handle lnet_check_routes() errors&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f628bdd8d240b135c92996a910ba200e0c7279e1&lt;/p&gt;</comment>
                            <comment id="104454" author="gerrit" created="Fri, 23 Jan 2015 01:53:35 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13445/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13445/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6128&quot; title=&quot;LNet: Problem handling error when lnet_check_routes() fail.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6128&quot;&gt;&lt;del&gt;LU-6128&lt;/del&gt;&lt;/a&gt; lnet: handle lnet_check_routes() errors&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b53998fdcc70c2f58bf436c318a0165f0f5ce224&lt;/p&gt;</comment>
                            <comment id="104472" author="pjones" created="Fri, 23 Jan 2015 05:19:45 +0000"  >&lt;p&gt;Landed for 2.7&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|hzx427:</customfieldvalue>

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