<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:03:44 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-13731] RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h</title>
                <link>https://jira.whamcloud.com/browse/LU-13731</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In RHEL 8.2 kernel 4.18.0-193.6.3.el8_2, VM_FAULT_RETRY is defined in mm_types.h instead of mm.h. While in Lustre codes, mm_types.h is not included, which causes VM_FAULT_RETRY redefined to 0 in llite_internal.h and vvp_io_kernel_fault() output the following error message:&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;LustreError: 4176:0:(vvp_io.c:1222:vvp_io_kernel_fault()) unknown error in page fault 1024
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>RHEL 8.2</environment>
        <key id="59795">LU-13731</key>
            <summary>RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Jul 2020 03:47:50 +0000</created>
                <updated>Fri, 30 Oct 2020 14:25:35 +0000</updated>
                            <resolved>Mon, 20 Jul 2020 16:10:12 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="274146" author="gerrit" created="Wed, 1 Jul 2020 05:03:25 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39222&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39222&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13731&quot; title=&quot;RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13731&quot;&gt;&lt;del&gt;LU-13731&lt;/del&gt;&lt;/a&gt; llite: include linux/mm_types.h for VM_FAULT_RETRY&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 354e2e90263bf1a0cf85e7489e7ccea5620d1d6a&lt;/p&gt;</comment>
                            <comment id="274195" author="gerrit" created="Wed, 1 Jul 2020 17:26:21 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39222/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39222/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13731&quot; title=&quot;RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13731&quot;&gt;&lt;del&gt;LU-13731&lt;/del&gt;&lt;/a&gt; llite: include linux/mm_types.h for VM_FAULT_RETRY&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2e813f3e2dc0a9a76a47dc7b74b6f7ed21f842e5&lt;/p&gt;</comment>
                            <comment id="274401" author="bjm900" created="Sat, 4 Jul 2020 01:23:35 +0000"  >&lt;p&gt;&lt;tt&gt;mm_types.h&lt;/tt&gt; already gets &lt;tt&gt;#include&lt;/tt&gt;-ed through &lt;tt&gt;linux/mm.h&lt;/tt&gt;, so I don&apos;t think this patch will fix it. What the problem seems to be is that those &lt;tt&gt;VM_FAULT_*&lt;/tt&gt; identifiers aren&apos;t macros anymore. They&apos;ve been replaced with an enumeration, and so the &lt;tt&gt;#ifndef VM_FAULT_RETRY&lt;/tt&gt; will still be true and so still result in &lt;tt&gt;VM_FAULT_RETRY&lt;/tt&gt; being erroneously replaced with 0. I think the easiest solution is to just remove this block:&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;#ifndef VM_FAULT_RETRY
#define VM_FAULT_RETRY 0
#endif
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;but that will break support for pre-2.6.32 kernels. Otherwise, the test needs be done at &lt;tt&gt;configure&lt;/tt&gt; time so that you can detect both macros and enumerations.&lt;/p&gt;</comment>
                            <comment id="274465" author="gerrit" created="Sun, 5 Jul 2020 08:40:07 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39281&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39281&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13731&quot; title=&quot;RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13731&quot;&gt;&lt;del&gt;LU-13731&lt;/del&gt;&lt;/a&gt; autoconf: check if VM_FAULT_RETRY is defined&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0c5df4448172c12c5c7e47985ac327accf132536&lt;/p&gt;</comment>
                            <comment id="274466" author="yujian" created="Sun, 5 Jul 2020 08:43:36 +0000"  >&lt;p&gt;Thank you Ben. The above patch is fixing the issue.&lt;/p&gt;</comment>
                            <comment id="275748" author="gerrit" created="Mon, 20 Jul 2020 05:21:45 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39281/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39281/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13731&quot; title=&quot;RHEL 8.2: VM_FAULT_RETRY is defined in mm_types.h instead of mm.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13731&quot;&gt;&lt;del&gt;LU-13731&lt;/del&gt;&lt;/a&gt; autoconf: check if VM_FAULT_RETRY is defined&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d8bc3df60f21c40885be465f3a636374ffab95df&lt;/p&gt;</comment>
                            <comment id="275777" author="yujian" created="Mon, 20 Jul 2020 16:10:12 +0000"  >&lt;p&gt;Patch landed to master branch for 2.14.0.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <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|i01447:</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>