<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:15:47 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-15137] socklnd: decrement typed connection counters on close</title>
                <link>https://jira.whamcloud.com/browse/LU-15137</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There appears to be a possibility that if some connections are being closed while some are still being created for the same control block, the race may result in LBUG in&#160;ksocknal_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;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((wanted &amp;amp; BIT(SOCKLND_CONN_ANY)) != 0) {
    type = SOCKLND_CONN_ANY;
} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((wanted &amp;amp; BIT(SOCKLND_CONN_CONTROL)) != 0) {
    type = SOCKLND_CONN_CONTROL;
} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((wanted &amp;amp; BIT(SOCKLND_CONN_BULK_IN)) != 0 &amp;amp;&amp;amp;
           conn_cb-&amp;gt;ksnr_blki_conn_count &amp;lt;= conn_cb-&amp;gt;ksnr_blko_conn_count) {
    type = SOCKLND_CONN_BULK_IN;
} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
    LASSERT ((wanted &amp;amp; BIT(SOCKLND_CONN_BULK_OUT)) != 0);
    type = SOCKLND_CONN_BULK_OUT;
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This may happen if the previously created BULK_IN connection got closed, no more BULK_OUT connections are needed, but ksocknal_connect is trying again to create a BULK_IN connection. Because&#160;ksnr_blki_conn_count didn&apos;t get decremented on close, the assertion will fail.&lt;/p&gt;

&lt;p&gt;Fix this by making sure counters are decremented on close.&lt;/p&gt;</description>
                <environment></environment>
        <key id="66762">LU-15137</key>
            <summary>socklnd: decrement typed connection counters on close</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="ssmirnov">Serguei Smirnov</assignee>
                                    <reporter username="ssmirnov">Serguei Smirnov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Oct 2021 17:25:41 +0000</created>
                <updated>Fri, 19 Jan 2024 15:58:15 +0000</updated>
                            <resolved>Thu, 6 Jan 2022 23:17:07 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                    <fixVersion>Lustre 2.12.10</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="317091" author="gerrit" created="Sat, 30 Oct 2021 19:06:26 +0000"  >&lt;p&gt;&quot;Serguei Smirnov &amp;lt;ssmirnov@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45422&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45422&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: decrement connection counters on close&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b513a383226bfa190e398a33ac011e5cfa5c8272&lt;/p&gt;</comment>
                            <comment id="317492" author="gerrit" created="Thu, 4 Nov 2021 18:45:47 +0000"  >&lt;p&gt;&quot;Serguei Smirnov &amp;lt;ssmirnov@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45461&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45461&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: expect two control connections maximum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6c0bcf741e425f9732bc60552d3adb74437ba7fc&lt;/p&gt;</comment>
                            <comment id="321401" author="gerrit" created="Thu, 23 Dec 2021 07:19:05 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45461/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45461/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: expect two control connections maximum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ee9a03d8308c5918a17e2e45fd59ee5a4c38acaf&lt;/p&gt;</comment>
                            <comment id="321958" author="gerrit" created="Thu, 6 Jan 2022 22:02:53 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45422/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45422/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: decrement connection counters on close&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7e26413aa85fdc931721cde36bae3bf2bb97e63f&lt;/p&gt;</comment>
                            <comment id="321988" author="pjones" created="Thu, 6 Jan 2022 23:17:07 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="334110" author="gerrit" created="Mon, 9 May 2022 00:13:21 +0000"  >&lt;p&gt;&quot;Cyril Bordage &amp;lt;cbordage@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47253&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47253&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: decrement connection counters on close&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 79527349324cb8d75904c90f7c0d70939b05cab4&lt;/p&gt;</comment>
                            <comment id="334111" author="gerrit" created="Mon, 9 May 2022 00:13:22 +0000"  >&lt;p&gt;&quot;Cyril Bordage &amp;lt;cbordage@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47254&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47254&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: expect two control connections maximum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 76e38c06682a23bac58da3c5ddfcbf3ecb94fe6e&lt;/p&gt;</comment>
                            <comment id="347148" author="gerrit" created="Tue, 20 Sep 2022 03:35:58 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47253/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47253/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: decrement connection counters on close&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9e3f7e3ed8ad90795638785c6fc2acc22d80fdf2&lt;/p&gt;</comment>
                            <comment id="347149" author="gerrit" created="Tue, 20 Sep 2022 03:36:06 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47254/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47254/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15137&quot; title=&quot;socklnd: decrement typed connection counters on close&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15137&quot;&gt;&lt;del&gt;LU-15137&lt;/del&gt;&lt;/a&gt; socklnd: expect two control connections maximum&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ed368445ef7028d2f62e30e3c4a40a1475908477&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|i027xj:</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>