<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:46:28 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-11735] o2iblnd - bad check for fmr</title>
                <link>https://jira.whamcloud.com/browse/LU-11735</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;
9b790ba0f5606c0a91563828fa43f5e4ae210425 LU-11152 lnd: test fpo_fmr_poool pointer instead of special bool
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Introduced an issue.&lt;/p&gt;

&lt;p&gt;You can&apos;t perform the following check:&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; (!IS_ERR_OR_NULL(fpo-&amp;gt;fmr.fpo_fmr_pool))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;because&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;
 340 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;union {                                           
 341 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;struct {  
 342 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;struct ib_fmr_pool *fpo_fmr_pool; &lt;span class=&quot;code-comment&quot;&gt;/* IB FMR pool */&lt;/span&gt;
 343 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;} fmr;                                                          
 344 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;struct { &lt;span class=&quot;code-comment&quot;&gt;/* For fast registration */&lt;/span&gt;
 345 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;struct list_head  fpo_pool_list;
 346 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;&#187;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;  fpo_pool_size;
 347 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;} fast_reg;                                       
 348 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It&apos;s part of a union so if we have fast reg enabled, then it&apos;s possible  that the check is successful even though we don&apos;t have fmr enabled.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54203">LU-11735</key>
            <summary>o2iblnd - bad check for fmr</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ashehata">Amir Shehata</assignee>
                                    <reporter username="ashehata">Amir Shehata</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2018 21:40:13 +0000</created>
                <updated>Thu, 24 Sep 2020 14:00:08 +0000</updated>
                                            <version>Lustre 2.12.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="238041" author="simmonsja" created="Wed, 5 Dec 2018 21:51:36 +0000"  >&lt;p&gt;lets make it an enum and clean up the code. I also dislike the union. The union assumes you can only have IB hardware that does either FMR or FastReg on a node. With multi-rail it is very possible to have IB hardware card using FMR and another using FastReg.&#160;&lt;/p&gt;</comment>
                            <comment id="238104" author="adilger" created="Thu, 6 Dec 2018 18:33:08 +0000"  >&lt;p&gt;James, we need to either fix this or revert the original &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt; patch ASAP for 2.12. &lt;/p&gt;</comment>
                            <comment id="238126" author="simmonsja" created="Thu, 6 Dec 2018 21:14:58 +0000"  >&lt;p&gt;Sure. The truth is that the o2iblnd pool handling is a piece of garbage and should be replaced with&#160;&lt;/p&gt;

&lt;p&gt;ib_mr_pool_*() functions that handle this much more gracefully.&lt;/p&gt;</comment>
                            <comment id="238132" author="adilger" created="Thu, 6 Dec 2018 22:57:02 +0000"  >&lt;p&gt;Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33802&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33802&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt; lnd: test fpo_fmr_poool pointer instead of special bool&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b169980b805b78df9b05e10079d27c4a6d3dbbc1&lt;/p&gt;</comment>
                            <comment id="238222" author="pjones" created="Sun, 9 Dec 2018 00:46:08 +0000"  >&lt;p&gt;Revert of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt; landed for 2.12 RC2 so this ticket moved to 2.13 as a lower priority&lt;/p&gt;</comment>
                            <comment id="238901" author="gerrit" created="Thu, 20 Dec 2018 02:22:09 +0000"  >&lt;p&gt;Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33901&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33901&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11735&quot; title=&quot;o2iblnd - bad check for fmr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11735&quot;&gt;LU-11735&lt;/a&gt; lnd: clean up fmr/FastReg condition&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9a164082c703222bd5a14469ed1624ef18ee473e&lt;/p&gt;</comment>
                            <comment id="238902" author="ashehata" created="Thu, 20 Dec 2018 02:23:27 +0000"  >&lt;p&gt;I&apos;ve tried to describe this area of the code here:&lt;br/&gt;
&lt;a href=&quot;https://wiki.whamcloud.com/display/LNet/More+on+FMR+and+Fast+Reg&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.whamcloud.com/display/LNet/More+on+FMR+and+Fast+Reg&lt;/a&gt;&lt;br/&gt;
If there are suggestions on how to clarify the documentation, please add comments on the wiki page above&lt;/p&gt;</comment>
                            <comment id="260122" author="spitzcor" created="Wed, 18 Dec 2019 22:16:20 +0000"  >&lt;p&gt;FYI:&lt;br/&gt;
&amp;gt; Revert of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt; landed for 2.12 RC2 so this ticket moved to 2.13 as a lower priority&lt;br/&gt;
Note, while code associated with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt; was reverted, that code was wrongly associated with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11152&quot; title=&quot;sanity test_133g: ost1 find  /proc/fs/lustre/ /proc/sys/lnet/ /proc/sys/lustre/ failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11152&quot;&gt;&lt;del&gt;LU-11152&lt;/del&gt;&lt;/a&gt;.  It is really associated with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11552&quot; title=&quot;improper FMR/FastReg pool cleanup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11552&quot;&gt;LU-11552&lt;/a&gt;.  Simple typo.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="52716">LU-11152</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="53680">LU-11552</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|i007gn:</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>