<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:04:21 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-6912] rework autoconf rules for external OFED to avoid dependency from OS</title>
                <link>https://jira.whamcloud.com/browse/LU-6912</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We don&apos;t check for new version of RHEL releases. And any attempt to compile Lustre with external OFED will fail on RHEL 6.[67] and RHEL 7.x.&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;case&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;$RHEL_RELEASE_NO&quot;&lt;/span&gt; in
64)
      EXTRA_OFED_INCLUDE=&lt;span class=&quot;code-quote&quot;&gt;&quot;$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4&quot;&lt;/span&gt; ;;
65)
      EXTRA_OFED_INCLUDE=&lt;span class=&quot;code-quote&quot;&gt;&quot;$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5&quot;&lt;/span&gt; ;;
esac
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;OFED distributive (at least latest versions) has autoconfig header file (compat_autoconf.h) with full set of defines we should specify for current OS. We should use it instead of provide our own defines and checks. This allow avoid dependency from OS and OFED version.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31238">LU-6912</key>
            <summary>rework autoconf rules for external OFED to avoid dependency from OS</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Jul 2015 18:37:00 +0000</created>
                <updated>Wed, 14 Oct 2015 15:26:43 +0000</updated>
                            <resolved>Mon, 31 Aug 2015 13:02:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="122321" author="simmonsja" created="Mon, 27 Jul 2015 20:12:50 +0000"  >&lt;p&gt;Do we have to do this for SLES12 and Ubuntu&lt;span class=&quot;error&quot;&gt;&amp;#91;14|15&amp;#93;&lt;/span&gt; as well?&lt;/p&gt;</comment>
                            <comment id="122324" author="dmiter" created="Mon, 27 Jul 2015 20:27:10 +0000"  >&lt;p&gt;This is a good question!&lt;/p&gt;</comment>
                            <comment id="122453" author="morrone" created="Tue, 28 Jul 2015 18:31:53 +0000"  >&lt;p&gt;Why are we setting CONFIG_COMPAT_RHEL_6_4 on RHEL 6.5?&lt;/p&gt;</comment>
                            <comment id="122684" author="simmonsja" created="Thu, 30 Jul 2015 15:06:04 +0000"  >&lt;p&gt;I think setting CONFIG_COMPAT_RHEL_6_4 on 6.5 is a bug. I just looked at OFED 3.18 and we don&apos;t need to worry about Ubuntu or SLES12 since they follow very closely the upstream kernel OFED sets CONFIG_COMPAT_* to some kernel version. So SLES12 just ends up being CONFIG_COMPAT_3_12. Only RHELX needs special help since it is a mutant kernel.&lt;/p&gt;</comment>
                            <comment id="122730" author="dmiter" created="Thu, 30 Jul 2015 17:22:07 +0000"  >&lt;p&gt;No, it&apos;s  not a bug. It&apos;s requirement. According OFED sources they use new defines only for new portion of code specifically related to new OS support, All previous defines should be specified also. If you see in OFED configuration script you will see the following:&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;RHEL_MINOR := $(shell grep ^RHEL_MINOR $(KLIB_BUILD)/Makefile | sed -n &lt;span class=&quot;code-quote&quot;&gt;&apos;s/.*= *\(.*\)/\1/p&apos;&lt;/span&gt;)
COMPAT_RHEL_VERSIONS := $(shell I=$(RHEL_MINOR); &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$$I&quot;&lt;/span&gt; -ge 0 ]; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; echo $$I; I=$$(($$I - 1)); done)
$(foreach ver,$(COMPAT_RHEL_VERSIONS),$(eval CONFIG_COMPAT_RHEL_$(RHEL_MAJOR)_$(ver)=y))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So, for RHEL 6.5 all defines (6.4, 6.3, 6.2, 6.1 and 6.0) will be specified.&lt;/p&gt;

&lt;p&gt;Actually we will have an error of compilation on RHEL 6.5 only if CONFIG_COMPAT_RHEL_6_4 will not be specified. But I think current approach with specifing defines for OFED is not correct and latest issue &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6769&quot; title=&quot;Mellanox backport header (kthread.h) conflicts with newer kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6769&quot;&gt;&lt;del&gt;LU-6769&lt;/del&gt;&lt;/a&gt; prove this. OFED distributive (at least latest versions) has autoconfig header file (compat_autoconf.h) with full set of defines we should specify for current OS. We should use it instead of provide our own defines and checks. I&apos;m working on this patch now.&lt;/p&gt;</comment>
                            <comment id="122777" author="gerrit" created="Thu, 30 Jul 2015 20:56:24 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15811&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15811&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6912&quot; title=&quot;rework autoconf rules for external OFED to avoid dependency from OS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6912&quot;&gt;&lt;del&gt;LU-6912&lt;/del&gt;&lt;/a&gt; lnet: rework autoconf rules for external OFED&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0de9e3d2b4c08f03e18b43b14341002814607e0a&lt;/p&gt;</comment>
                            <comment id="122781" author="dmiter" created="Thu, 30 Jul 2015 21:03:15 +0000"  >&lt;p&gt;Unfortunately header O2IBPATH/include/linux/compat_autoconf.h exist in modern OFEDs only. So we still need automatically generate CONFIG_COMPAT_RHEL_&lt;b&gt;_&lt;/b&gt; for RHEL distributive if it absent. With patch &lt;a href=&quot;http://review.whamcloud.com/15811&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15811&lt;/a&gt; new RHEL versions will be supported automatically. Also no errors should be on Ubuntu if O2IBPATH set correctly to DKMS compiled directory.&lt;/p&gt;</comment>
                            <comment id="125605" author="gerrit" created="Sat, 29 Aug 2015 01:03:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15811/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15811/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6912&quot; title=&quot;rework autoconf rules for external OFED to avoid dependency from OS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6912&quot;&gt;&lt;del&gt;LU-6912&lt;/del&gt;&lt;/a&gt; lnet: rework autoconf rules for external OFED&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d98974fce00c6974168173abe6fddca3a8c19670&lt;/p&gt;</comment>
                            <comment id="125669" author="jgmitter" created="Mon, 31 Aug 2015 13:02:58 +0000"  >&lt;p&gt;Landed for 2.8.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|hzxj3r:</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>