<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:43 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-7185] restore flags on ptlrpc_connect_import failure to prevent LBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-7185</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Commit 1fc013f90175d1e50d7a22b404ad6abd31a43e38 in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5319&quot; title=&quot;Support multiple slots per client in last_rcvd file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5319&quot;&gt;&lt;del&gt;LU-5319&lt;/del&gt;&lt;/a&gt; failed to restore the original flags ptlrpc_connect_import failure.  Handle this gracefully so the system doesn&apos;t LBUG.&lt;/p&gt;

&lt;p&gt;I&apos;ll submit a patch to gerrit when I get a chance to fix my keys.  In the mean time the diff is here for reference.&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;diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c
index 2203acb..b68d331 100644
--- a/lustre/ldlm/ldlm_lib.c
+++ b/lustre/ldlm/ldlm_lib.c
@@ -570,6 +570,8 @@ &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; client_connect_import(&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct lu_env *env,
 
         rc = ptlrpc_connect_import(imp);
         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc != 0) {
+               &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (data &amp;amp;&amp;amp; is_mdc)
+                       data-&amp;gt;ocd_connect_flags &amp;amp;= ~OBD_CONNECT_MULTIMODRPCS;
                 LASSERT (imp-&amp;gt;imp_state == LUSTRE_IMP_DISCON);
                 GOTO(out_ldlm, rc);
         }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="32210">LU-7185</key>
            <summary>restore flags on ptlrpc_connect_import failure to prevent LBUG</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="jhammond">John Hammond</assignee>
                                    <reporter username="jfilizetti">Jeremy Filizetti</reporter>
                        <labels>
                            <label>SSK</label>
                            <label>kerberos</label>
                            <label>patch</label>
                    </labels>
                <created>Fri, 18 Sep 2015 01:52:10 +0000</created>
                <updated>Fri, 19 Aug 2016 00:21:20 +0000</updated>
                            <resolved>Thu, 2 Jun 2016 11:56:07 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="127814" author="green" created="Fri, 18 Sep 2015 17:28:08 +0000"  >&lt;p&gt;What is the assertion being triggered?&lt;/p&gt;</comment>
                            <comment id="127819" author="jfilizetti" created="Fri, 18 Sep 2015 17:35:53 +0000"  >&lt;p&gt;I believe it was in obd_connect:&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;        LASSERT(ergo(data != NULL, (data-&amp;gt;ocd_connect_flags &amp;amp; ocf) ==
                                    data-&amp;gt;ocd_connect_flags));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;ll try to see if I still have the vmcore from a couple months ago when I fixed it.&lt;/p&gt;</comment>
                            <comment id="131621" author="gerrit" created="Mon, 26 Oct 2015 23:51:46 +0000"  >&lt;p&gt;Jeremy Filizetti (jeremy.filizetti@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16950&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16950&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7185&quot; title=&quot;restore flags on ptlrpc_connect_import failure to prevent LBUG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7185&quot;&gt;&lt;del&gt;LU-7185&lt;/del&gt;&lt;/a&gt; ldlm: Restore connect flags on failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 196ce70d791088adeb0d3f07c1c6f7659221ff5f&lt;/p&gt;</comment>
                            <comment id="154375" author="gerrit" created="Thu, 2 Jun 2016 04:40:35 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16950/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16950/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7185&quot; title=&quot;restore flags on ptlrpc_connect_import failure to prevent LBUG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7185&quot;&gt;&lt;del&gt;LU-7185&lt;/del&gt;&lt;/a&gt; ldlm: Restore connect flags on failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9832fed2569ced118800f33222b02d1ac65312cb&lt;/p&gt;</comment>
                            <comment id="154418" author="pjones" created="Thu, 2 Jun 2016 11:56:07 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="33258">LU-7452</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="18738">LU-3289</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25521">LU-5319</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzxo2n:</customfieldvalue>

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