<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:53:39 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-12559] Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO</title>
                <link>https://jira.whamcloud.com/browse/LU-12559</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When reconnecting idle imports (in&#160;ptlrpc_request_alloc_internal and&#160;ptlrpc_disconnect_idle_interpret), we set the import state to IMP_NEW, and then release the import lock before immediately calling&#160;ptlrpc_connect_import, which immediately takes the import lock.&lt;/p&gt;

&lt;p&gt;However, there&apos;s a small gap where an import in the IMP_NEW state is exposed.&lt;/p&gt;

&lt;p&gt;This can cause messages sent in this interval to fail, like this:&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;ptlrpc_import_delay_req()) @@@ Uninitialized import. req@[...]x1638589897143744/t0(0) o101-&amp;gt;[....]-OST0000-osc-[...]@o2ib:28/4 lens 328/400 e 0 to 0 dl 0 ref 2 fl Rpc:/0/ffffffff rc 0/-1&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;        } else if (imp-&amp;gt;imp_state == LUSTRE_IMP_NEW) {
                DEBUG_REQ(D_ERROR, req, &quot;Uninitialized import.&quot;);
                *status = -EIO;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The solution is to not release the import lock, so this gap does not exist.&lt;/p&gt;</description>
                <environment></environment>
        <key id="56428">LU-12559</key>
            <summary>Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO</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="pfarrell">Patrick Farrell</assignee>
                                    <reporter username="pfarrell">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Jul 2019 19:26:10 +0000</created>
                <updated>Fri, 4 Oct 2019 20:36:35 +0000</updated>
                            <resolved>Tue, 17 Sep 2019 18:27:54 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="251505" author="gerrit" created="Tue, 16 Jul 2019 19:28:56 +0000"  >&lt;p&gt;Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35530&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35530&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12559&quot; title=&quot;Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12559&quot;&gt;&lt;del&gt;LU-12559&lt;/del&gt;&lt;/a&gt; ptlrpc: Hold imp lock for idle reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f31f64e77d5664ade4b40859263afc062861283c&lt;/p&gt;</comment>
                            <comment id="254851" author="gerrit" created="Tue, 17 Sep 2019 05:46:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35530/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35530/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12559&quot; title=&quot;Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12559&quot;&gt;&lt;del&gt;LU-12559&lt;/del&gt;&lt;/a&gt; ptlrpc: Hold imp lock for idle reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e9472c54ac820c3a0db2318a6ef894c3971e6e0b&lt;/p&gt;</comment>
                            <comment id="254911" author="pjones" created="Tue, 17 Sep 2019 18:27:54 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="254915" author="gerrit" created="Tue, 17 Sep 2019 18:40:05 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36215&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36215&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12559&quot; title=&quot;Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12559&quot;&gt;&lt;del&gt;LU-12559&lt;/del&gt;&lt;/a&gt; ptlrpc: Hold imp lock for idle reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ae0990a1183993e7e05c864a033ff771b72cc523&lt;/p&gt;</comment>
                            <comment id="255934" author="gerrit" created="Fri, 4 Oct 2019 20:30:19 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36215/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36215/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12559&quot; title=&quot;Reconnecting from idle exposes import in IMP_NEW state, resulting in EIO&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12559&quot;&gt;&lt;del&gt;LU-12559&lt;/del&gt;&lt;/a&gt; ptlrpc: Hold imp lock for idle reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: df5d7a7816e8472397e5f99fd2d44d4cd2a4754d&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i00jsf:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>