<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:49 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-11200] Centos 8 arm64 server support</title>
                <link>https://jira.whamcloud.com/browse/LU-11200</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I am trying to bring up arm64 support for centos7 and it turns out centos 7 / rhel 7 for arm64 uses kernel 4.14 that we do not have any ldiskfs patches for.&lt;/p&gt;

&lt;p&gt;I checked and the closest match is ubuntu18 4.15 kernel - the ldiskfs series has only a single trivial reject in ext4-data-in-dirent.patch&lt;/p&gt;

&lt;p&gt;We also need a way to select it in configure that&apos;s a bit more complicated since I don&apos;t know how to do it easily yet.&lt;/p&gt;

&lt;p&gt;Then there are compile errors:&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;/home/green/git/lustre-release/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:135:74: error: macro &quot;DEFINE_TIMER&quot; requires 4 arguments, but only 2 given
 static CFS_DEFINE_TIMER(waiting_locks_timer, waiting_locks_callback, 0, 0);   
                                                                          ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="52887">LU-11200</key>
            <summary>Centos 8 arm64 server support</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Aug 2018 02:04:04 +0000</created>
                <updated>Thu, 11 Jun 2020 08:51:20 +0000</updated>
                            <resolved>Thu, 11 Jun 2020 08:51:20 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="231364" author="adilger" created="Fri, 3 Aug 2018 04:39:29 +0000"  >&lt;p&gt;It probably makes sense to add a small patch to the 4.14 ldiskfs to make it match Ubuntu to resolve the conflict rather than creating a whole new set of patches. &lt;/p&gt;</comment>
                            <comment id="231389" author="green" created="Fri, 3 Aug 2018 14:20:46 +0000"  >&lt;p&gt;I just forked that one patch and reuse the ubuntu patches otherwise, that&apos;s what we typically did in the past.&lt;/p&gt;</comment>
                            <comment id="231394" author="simmonsja" created="Fri, 3 Aug 2018 14:55:04 +0000"  >&lt;p&gt;Actually the latest RHEL alt kernels for ARM/Power8 are 4.15 kernels. I was looking at doing this work since I have been assigned ARM server support. I have been running RHEL ARM clients for some time &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="231395" author="simmonsja" created="Fri, 3 Aug 2018 15:01:24 +0000"  >&lt;p&gt;Never mind I was wrong. We are at 4.11. Need to look update our clients kernels.&lt;/p&gt;</comment>
                            <comment id="231396" author="simmonsja" created="Fri, 3 Aug 2018 16:01:49 +0000"  >&lt;p&gt;I&apos;m going to take over this ticket since I need to go to a ARM conference in November to present ARM lustre server support.&lt;/p&gt;</comment>
                            <comment id="231401" author="green" created="Fri, 3 Aug 2018 17:08:25 +0000"  >&lt;p&gt;I am fine with it. Hopefully it does not take too long to have the patches to compile current master on rhel7 arm64. I sent you the ldiskfs series update, but it still needs the configure magic of course. - please make it a separate patch from all the other possible compile fixes (the DEFINE_TIMER and whatever else might crop up) so we can enable arm64 builder permanently and make sure it no longer breaks.&lt;/p&gt;</comment>
                            <comment id="231465" author="gerrit" created="Sun, 5 Aug 2018 18:09:46 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32939&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11200&quot; title=&quot;Centos 8 arm64 server support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11200&quot;&gt;&lt;del&gt;LU-11200&lt;/del&gt;&lt;/a&gt; libcfs: handle DECLARE_TIMER reduced to two arguments&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fffd922836c7cae6bafd650a41232d845edaf8cf&lt;/p&gt;</comment>
                            <comment id="231466" author="gerrit" created="Sun, 5 Aug 2018 20:43:23 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32940&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11200&quot; title=&quot;Centos 8 arm64 server support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11200&quot;&gt;&lt;del&gt;LU-11200&lt;/del&gt;&lt;/a&gt; ldiskfs: add support for RHEL7.5 alt kernel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f0cf010cadf6a16848d7ec3e02099df6087a0317&lt;/p&gt;</comment>
                            <comment id="231766" author="simmonsja" created="Thu, 9 Aug 2018 22:02:21 +0000"  >&lt;p&gt;I have attached to this ticket the lustre version of the e2fsprogs which is the latest in the lustre-master-test test branch.&lt;/p&gt;</comment>
                            <comment id="231770" author="adilger" created="Thu, 9 Aug 2018 23:14:20 +0000"  >&lt;p&gt;I assume from the e2fsprogs attachments that you didn&apos;t have any problems building the &lt;tt&gt;master-lustre-test&lt;/tt&gt; branch on ARM?&lt;/p&gt;</comment>
                            <comment id="231810" author="simmonsja" created="Fri, 10 Aug 2018 17:26:18 +0000"  >&lt;p&gt;No problem. Same for Power8. Only have trouble with Ubuntu systems. I will track that down.&lt;/p&gt;</comment>
                            <comment id="231816" author="pjones" created="Fri, 10 Aug 2018 18:06:14 +0000"  >&lt;p&gt;James&lt;/p&gt;

&lt;p&gt;Is anything needed for clients to work - either on master or on b2_10?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="231824" author="simmonsja" created="Fri, 10 Aug 2018 19:57:30 +0000"  >&lt;p&gt;Technically I&apos;m testing on a Power8 which is at RHE7.5 alt using the 4.14 kernel. The ARM system I have is in the progress of moving up to RHE7.5 alt. Both platforms use the same kernel. For my testing on Power8 I need the two patches from this ticket as well as the patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11224&quot; title=&quot;T10PI assume several kernel features are enabled.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11224&quot;&gt;&lt;del&gt;LU-11224&lt;/del&gt;&lt;/a&gt;. I also have &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11096&quot; title=&quot;Lustre doesn&amp;#39;t build if kernel has no blk integrity&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11096&quot;&gt;&lt;del&gt;LU-11096&lt;/del&gt;&lt;/a&gt; which might be needed for ARM. For Power8 its not required. That is for master. For b2_10 support it would be a lot of work. Lots of bits are missing from LNet to make 64K page systems to work.&lt;/p&gt;</comment>
                            <comment id="231827" author="adilger" created="Fri, 10 Aug 2018 22:45:10 +0000"  >&lt;p&gt;You probably mean something different than &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11124&quot; title=&quot;Add &amp;quot;lfs getstripe -N&amp;quot; option to print mirror count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11124&quot;&gt;&lt;del&gt;LU-11124&lt;/del&gt;&lt;/a&gt; &quot;&lt;tt&gt;Add &apos;lfs getstripe -N&apos; option to print mirror count&lt;/tt&gt;&quot;...&lt;/p&gt;</comment>
                            <comment id="231828" author="simmonsja" created="Fri, 10 Aug 2018 23:25:05 +0000"  >&lt;p&gt;Yes a typo. I updated the comment to reflect the proper LU&lt;/p&gt;</comment>
                            <comment id="232188" author="gerrit" created="Sat, 18 Aug 2018 02:23:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32939/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32939/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11200&quot; title=&quot;Centos 8 arm64 server support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11200&quot;&gt;&lt;del&gt;LU-11200&lt;/del&gt;&lt;/a&gt; libcfs: handle DECLARE_TIMER reduced to two arguments&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ac40000d4bde21f807a68cb2add326ea5d77385c&lt;/p&gt;</comment>
                            <comment id="232206" author="simmonsja" created="Sun, 19 Aug 2018 14:07:21 +0000"  >&lt;p&gt;Client support for ARM and Power8 restored. Now for server support.&lt;/p&gt;</comment>
                            <comment id="232207" author="pjones" created="Sun, 19 Aug 2018 14:12:33 +0000"  >&lt;p&gt;James&lt;/p&gt;

&lt;p&gt;So what (if anything) would be needed on b2_10 to offer ARM/Power8 client support?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="232295" author="simmonsja" created="Mon, 20 Aug 2018 14:25:13 +0000"  >&lt;p&gt;First we need to port a bunch of patches to support newer kernels. Then figure out what to do with the ko2iblnd stack with 64K and map_on_demand work.&lt;/p&gt;</comment>
                            <comment id="237594" author="simmonsja" created="Wed, 28 Nov 2018 15:04:12 +0000"  >&lt;p&gt;Found an issue with RHEL7 alt kernel for my Power8 system. Now I can attempt to mount ldiskfs but I&apos;m encountering:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156572.269381&amp;#93;&lt;/span&gt;&#160;LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodela&lt;/p&gt;

&lt;p&gt;lloc&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172421&amp;#93;&lt;/span&gt;&#160;INFO: task mount.lustre:37664 blocked for more than 120 seconds.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172515&amp;#93;&lt;/span&gt;&#160;&#160; &#160; &#160; Tainted: P&#160; &#160; &#160; &#160; W&#160; OE&#160; ------------ &#160; 4.14.0-49.6.1.el7a.ppc64le #1&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172524&amp;#93;&lt;/span&gt;&#160;&quot;echo 0 &amp;gt; /proc/sys/kernel/hung_task_timeout_secs&quot; disables this message.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172556&amp;#93;&lt;/span&gt;&#160;mount.lustre&#160; &#160; D&#160; &#160; 0 37664&#160; 37663 0x00042080&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172605&amp;#93;&lt;/span&gt;&#160;Call Trace:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172636&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16ba0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c00000000001cde0&amp;#93;&lt;/span&gt;&#160;__switch_to+0x330/0x660&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172699&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16c00&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000000000c5ff64&amp;#93;&lt;/span&gt;&#160;__schedule+0x354/0xaf0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172758&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16cd0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000000000c60748&amp;#93;&lt;/span&gt;&#160;schedule+0x48/0xc0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172817&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16d00&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000000000c65e88&amp;#93;&lt;/span&gt;&#160;rwsem_down_read_failed+0x148/0x1f0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172888&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16d80&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000000000c65038&amp;#93;&lt;/span&gt;&#160;down_read+0x78/0x80&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.172964&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16db0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000000dc31dc4&amp;#93;&lt;/span&gt;&#160;ldiskfs_readdir+0x704/0xa40&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;ldiskfs&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173046&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16ed0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000000e94f718&amp;#93;&lt;/span&gt;&#160;osd_ios_general_scan+0x148/0x350&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;osd_ldiskfs&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173136&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f16fb0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000000e95ab28&amp;#93;&lt;/span&gt;&#160;osd_initial_OI_scrub+0x178/0x1770&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;osd_ldiskfs&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173226&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17150&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000000e95cdfc&amp;#93;&lt;/span&gt;&#160;osd_scrub_setup+0x8bc/0x1300&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;osd_ldiskfs&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173314&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f172e0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000000e923b18&amp;#93;&lt;/span&gt;&#160;osd_device_alloc+0x6e8/0xa90&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;osd_ldiskfs&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173424&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f173c0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000002821e478&amp;#93;&lt;/span&gt;&#160;class_setup+0xaf8/0x10d0&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173516&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17510&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028229924&amp;#93;&lt;/span&gt;&#160;class_process_config+0x1d64/0x3980&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173620&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17640&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028232dc8&amp;#93;&lt;/span&gt;&#160;do_lcfg+0x358/0x890&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173713&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17770&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028237af4&amp;#93;&lt;/span&gt;&#160;lustre_start_simple+0x1d4/0x460&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173817&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17840&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028279404&amp;#93;&lt;/span&gt;&#160;osd_start+0x714/0xd40&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.173911&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17960&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028287508&amp;#93;&lt;/span&gt;&#160;server_fill_super+0x268/0x1cc0&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.174015&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17a60&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d00000002823cb40&amp;#93;&lt;/span&gt;&#160;lustre_fill_super+0x7c0/0x1050&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.174098&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17b20&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c0000000004494d0&amp;#93;&lt;/span&gt;&#160;mount_nodev+0x160/0x390&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.174178&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17b90&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;d000000028234ad4&amp;#93;&lt;/span&gt;&#160;lustre_mount+0x54/0x70&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.174249&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17be0&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c00000000044b97c&amp;#93;&lt;/span&gt;&#160;mount_fs+0x8c/0x230&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;156794.174309&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000001dd7f17c80&amp;#93;&lt;/span&gt;&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;c000000000487978&amp;#93;&lt;/span&gt;&#160;vfs_kern_mount+0x78/0x1b0&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="245198" author="sihara" created="Wed, 3 Apr 2019 16:07:15 +0000"  >&lt;p&gt;Hi James, &lt;br/&gt;
I&apos;ve tested your latest patch series (patch set 8), got crash. Please see attached vmcore-dmesg.txt (&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/32378/vmcore-dmesg.txt&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.whamcloud.com/secure/attachment/32378/vmcore-dmesg.txt&lt;/a&gt;)  it was kernel-alt on x86_64 system though.&lt;br/&gt;
I will try patch on arm system too.&lt;/p&gt;</comment>
                            <comment id="245227" author="simmonsja" created="Thu, 4 Apr 2019 02:58:49 +0000"  >&lt;p&gt;I think I resolved the locking issues for ldiskfs. The problem was try_lookup_one_len() can return NULL. In the original ldiskfs scrub code the dentry was then allocated in that case. So if try_lookup_one_len() doesn&apos;t find a dentry we have to create one.&lt;/p&gt;</comment>
                            <comment id="246181" author="simmonsja" created="Mon, 22 Apr 2019 23:09:04 +0000"  >&lt;p&gt;Shuichi Ihara try both:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/34714&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/34714&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/32940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/32940&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="249126" author="gerondeau" created="Wed, 12 Jun 2019 14:17:24 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Thank you for your patches and efforts !&lt;/p&gt;

&lt;p&gt;I&apos;ve tested the latest series on an ARM64 machine (VM hosted on a ThunderX2 with Infiniband to be precise).&lt;br/&gt;
 First off, when using the &apos;vanilla&apos; CentOS distributed 4.14.0-49.10.1.el7a.aarch64 kernel, it seems ldiskfs&apos;s kmod complains about missing &apos;fscrypt&apos; symbols.&lt;br/&gt;
 Thus I recompiled the kernel enabling/forcing EXT4_ENCRYPTION, with that I can load ldiskfs&apos;s kmods fine.&lt;br/&gt;
 However, when running llmount.sh (naively, no modifications to any config file and using LDISKFS_MKFS_OPTS=&quot;^metadata_csum&quot; because of &quot;LDISKFS-fs (loop0): Couldn&apos;t mount because of unsupported optional features (400)&quot;) I get :&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;bgerdeb@lustretest ~&amp;#93;&lt;/span&gt;$ sudo FSTYPE=ldiskfs LDISKFS_MKFS_OPTS=&quot;^metadata_csum&quot; /usr/lib64/lustre/tests/llmount.sh &lt;br/&gt;
 Stopping clients: lustretest /mnt/lustre (opts:-f)&lt;br/&gt;
 Stopping clients: lustretest /mnt/lustre2 (opts:-f)&lt;br/&gt;
 lustretest: executing set_hostid&lt;br/&gt;
 Loading modules from /usr/lib64/lustre/tests/..&lt;br/&gt;
 detected 56 online CPUs by sysfs&lt;br/&gt;
 libcfs will create CPU partition based on online CPUs&lt;br/&gt;
 Formatting mgs, mds, osts&lt;br/&gt;
 Format mds1: /tmp/lustre-mdt1&lt;br/&gt;
 Failed to initialize ZFS library: 256&lt;/p&gt;

&lt;p&gt;mkfs.lustre FATAL: Unable to build fs /dev/loop0 (256)&lt;/p&gt;

&lt;p&gt;mkfs.lustre FATAL: mkfs failed 256&lt;/p&gt;

&lt;p&gt;Furthermore, dmesg shows :&lt;/p&gt;

&lt;p&gt;[ 164.229457] libcfs: loading out-of-tree module taints kernel.&lt;br/&gt;
 [ 164.231426] libcfs: module verification failed: signature and/or required key missing - tainting kernel&lt;br/&gt;
 [ 164.239068] LNet: HW NUMA nodes: 1, HW CPU cores: 56, npartitions: 28&lt;br/&gt;
 [ 164.244595] alg: No test for adler32 (adler32-zlib)&lt;br/&gt;
 [ 165.001287] Lustre: DEBUG MARKER: lustretest: executing set_hostid&lt;br/&gt;
 [ 165.140092] Lustre: Lustre: Build Version: 2.12.54&lt;br/&gt;
 [ 165.210256] LNet: Added LNI 10.40.16.14@tcp &lt;span class=&quot;error&quot;&gt;&amp;#91;8/1792/0/180&amp;#93;&lt;/span&gt;&lt;br/&gt;
 [ 165.211486] LNet: Accept secure, port 988&lt;br/&gt;
 [ 166.796493] Lustre: 6332:0:(gss_svc_upcall.c:1119:gss_init_svc_upcall()) Init channel is not opened by lsvcgssd, following request might be dropped until lsvcgssd is active&lt;br/&gt;
 [ 166.799447] Key type lgssc registered&lt;br/&gt;
 [ 166.949177] Lustre: Echo OBD driver; &lt;a href=&quot;http://www.lustre.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.lustre.org/&lt;/a&gt;&lt;br/&gt;
 [ 177.165649] loop: module loaded&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
 [ 4728.518978] Lustre: DEBUG MARKER: lustretest: executing set_hostid&lt;br/&gt;
 [ 4738.611605] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4738.617781] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4738.623807] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4738.629806] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4738.636358] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4738.642873] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.617658] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.650171] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.655604] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.661274] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.666946] print_req_error: I/O error, dev loop0, sector 0&lt;br/&gt;
 [ 4759.672655] print_req_error: I/O error, dev loop0, sector 0&lt;/p&gt;

&lt;p&gt;Those last &apos;print_req_error&apos; seem to be inherent to this precise version of the kernel/EXT4 drivers (Ubuntu&apos;s bug tracker is full of those errors).&lt;br/&gt;
 I also encountered them when running llmount.sh with FSTYPE=zfs on this kernel (4.14.0-49.10.1.el7a.aarch64, both vanilla and my builds) crashing llmount.sh&lt;/p&gt;

&lt;p&gt;When compiling Lustre (master + both patches cherry picked) against the latest CentOS 7.6 aarch64 kernel (yesterday&apos;s&#160;4.14.0-115.8.1.el7a.aarch64, as well as 4.14.0-115.7.1.el7a.aarch64) with &lt;b&gt;only&lt;/b&gt; ZFS enabled, I can llmount.sh just fine.&lt;br/&gt;
 Note that I haven&apos;t run much of auster on this (I need to migrate the VM, not enough space left...), but I&apos;m not getting &lt;b&gt;any&lt;/b&gt;&#160;print_req_error.&lt;/p&gt;</comment>
                            <comment id="249142" author="simmonsja" created="Wed, 12 Jun 2019 17:41:46 +0000"  >&lt;p&gt;metadata_csum is new. As for the loop device you might need the new e2fsprogs being worked on for RHEL8. In fact give me some time and I will build you updated e2fsprogs for you. I do plan on updating the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11200&quot; title=&quot;Centos 8 arm64 server support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11200&quot;&gt;&lt;del&gt;LU-11200&lt;/del&gt;&lt;/a&gt; patch due to RHEL8 changes as well.&#160;&lt;/p&gt;</comment>
                            <comment id="249193" author="gerondeau" created="Thu, 13 Jun 2019 09:19:06 +0000"  >&lt;p&gt;Thanks a lot ! Looking forward to trying out those patches !&lt;/p&gt;</comment>
                            <comment id="249201" author="simmonsja" created="Thu, 13 Jun 2019 14:15:19 +0000"  >&lt;p&gt;Updated the e2fsprogs. I hope to have the RHEL7.6alt patches ready over the next few days.&lt;/p&gt;</comment>
                            <comment id="249205" author="gerondeau" created="Thu, 13 Jun 2019 14:34:33 +0000"  >&lt;p&gt;Thanks ! Downloaded and reinstalled your e2fsprogs over mine, tested and got the same result as above.&lt;br/&gt;
I might redo a clean build and install later with your e2fsprogs just to make sure.&lt;br/&gt;
Looking forward to the 7.6alt patches !&lt;/p&gt;</comment>
                            <comment id="249396" author="simmonsja" created="Mon, 17 Jun 2019 15:48:23 +0000"  >&lt;p&gt;Just updated the ldiskfs patch. Currently we are running 4.14.43-200 and that kernel is nearly identical to the Ubuntu 18 LTS kernel so its a really easy update. That patch plus the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12137&quot; title=&quot;update client to use iterate_shared&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12137&quot;&gt;&lt;del&gt;LU-12137&lt;/del&gt;&lt;/a&gt; patch should get you mounting a file system. The only issue is that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12137&quot; title=&quot;update client to use iterate_shared&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12137&quot;&gt;&lt;del&gt;LU-12137&lt;/del&gt;&lt;/a&gt; isn&apos;t complete on some recovery points but you should be able to mount ldiskfs on ARM.&lt;/p&gt;</comment>
                            <comment id="249430" author="gerondeau" created="Tue, 18 Jun 2019 08:34:36 +0000"  >&lt;p&gt;I can&apos;t seem to find a 4.14.43-200 kernel (for aarch64). The closest I have is &lt;a href=&quot;https://koji.fedoraproject.org/koji/buildinfo?buildID=1015632&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Fedora&apos;s 4.14.13-200&lt;/a&gt;. Is it that one ?&lt;/p&gt;</comment>
                            <comment id="249438" author="simmonsja" created="Tue, 18 Jun 2019 13:30:30 +0000"  >&lt;p&gt;I saw 4.14.43-200 kernels for Fedora x86 but I can&apos;t seem to find one for ARM. The kernel I&apos;m using is directly from the vendor using RedHat. Can you try to see if you have build issues with this version? I do see the latest fedora is 30 for ARM and it is a 5.0 kernel which is being worked on &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="249475" author="gerondeau" created="Wed, 19 Jun 2019 10:37:32 +0000"  >&lt;p&gt;So I tried with the aforementioned kernel : the good news is that I only had to do minor changes to your rhel7.5alt patch (see : &lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/32821/patch_to_patches_ldiskfsset20.txt&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this file&lt;/a&gt;), which I already had to do before but failed to mention it seems...) for it to apply to this kernel&apos;s EXT4 tree.&lt;/p&gt;

&lt;p&gt;The bad news is that it fails to compile with GCC 5.4.0 where it succeeded before; here are the errors :&lt;/p&gt;

&lt;p&gt;In file included from include/linux/kernel.h:10:0,&lt;br/&gt;
                 from include/linux/list.h:9,&lt;br/&gt;
                 from include/linux/wait.h:7,&lt;br/&gt;
                 from include/linux/wait_bit.h:8,&lt;br/&gt;
                 from include/linux/fs.h:6,&lt;br/&gt;
                 from /home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:25:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c: In function &#8216;__ldiskfs_check_dir_entry&#8217;:&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:71:22: error: implicit declaration of function &#8216;__LDISKFS_DIR_REC_LEN&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
  if (unlikely(rlen &amp;lt; __LDISKFS_DIR_REC_LEN(1)))*&lt;br/&gt;
                      ^&lt;br/&gt;
include/linux/compiler.h:77:42: note: in definition of macro &#8216;unlikely&#8217;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;define unlikely&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/error.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; __builtin_expect(!!&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/error.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;, 0)&lt;br/&gt;
                                          ^&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/ldiskfs.h:2031:77: error: invalid operands to binary &amp;amp; (have &#8216;struct ldiskfs_dir_entry_2 *&#8217; and &#8216;int&#8217;)&lt;br/&gt;
 #define LDISKFS_DIR_REC_LEN(name_len) (((name_len) + 8 + LDISKFS_DIR_ROUND) &amp;amp; \&lt;br/&gt;
                                                                             ^*&lt;br/&gt;
include/linux/compiler.h:77:42: note: in definition of macro &#8216;unlikely&#8217;&lt;/li&gt;
	&lt;li&gt;define unlikely&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/error.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; __builtin_expect(!!&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/error.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;, 0)&lt;br/&gt;
                                          ^&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:75:27: note: in expansion of macro &#8216;LDISKFS_DIR_REC_LEN&#8217;&lt;br/&gt;
  else if (unlikely(rlen &amp;lt; LDISKFS_DIR_REC_LEN(de)))&lt;br/&gt;
                           ^&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c: In function &#8216;ldiskfs_htree_store_dirent&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:451:26: error: &#8216;LDISKFS_DIRENT_LUFID&#8217; undeclared (first use in this function)&lt;br/&gt;
  if (dirent-&amp;gt;file_type &amp;amp; LDISKFS_DIRENT_LUFID)&lt;br/&gt;
                          ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:451:26: note: each undeclared identifier is reported only once for each function it appears in&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c:452:16: error: implicit declaration of function &#8216;ldiskfs_get_dirent_data_len&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
   extra_data = ldiskfs_get_dirent_data_len(dirent);&lt;br/&gt;
                ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/dir.c: At top level:&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-stringop-overflow&#8217;&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-stringop-truncation&#8217;&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-format-truncation&#8217;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;... make -j12 so it goes on ..&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3695:20: warning: &#8216;struct ldiskfs_dentry_param&#8217; declared inside parameter list&lt;br/&gt;
       const struct lu_fid *fid)&lt;br/&gt;
                    ^&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3695:20: warning: its scope is only this definition or declaration, which is probably not what you want&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_get_ldiskfs_dirent_param&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3699:8: error: dereferencing pointer to incomplete type &#8216;struct ldiskfs_dentry_param&#8217;&lt;br/&gt;
   param-&amp;gt;edp_magic = 0;&lt;br/&gt;
        ^*&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3703:21: error: &#8216;LDISKFS_LUFID_MAGIC&#8217; undeclared (first use in this function)&lt;br/&gt;
  param-&amp;gt;edp_magic = LDISKFS_LUFID_MAGIC;&lt;br/&gt;
                     ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3703:21: note: each undeclared identifier is reported only once for each function it appears in&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_add_dot_dotdot_internal&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3746:31: error: passing argument 1 of &#8216;osd_get_ldiskfs_dirent_param&#8217; from incompatible pointer type &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=incompatible-pointer-types&amp;#93;&lt;/span&gt;&lt;br/&gt;
  osd_get_ldiskfs_dirent_param(dot_dot_ldp, dot_dot_fid);&lt;br/&gt;
                               ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3694:13: note: expected &#8216;struct ldiskfs_dentry_param *&#8217; but argument is of type &#8216;struct ldiskfs_dentry_param *&#8217;&lt;br/&gt;
 static void osd_get_ldiskfs_dirent_param(struct ldiskfs_dentry_param *param,&lt;br/&gt;
             ^&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3749:9: error: dereferencing pointer to incomplete type &#8216;struct ldiskfs_dentry_param&#8217;&lt;br/&gt;
  dot_ldp-&amp;gt;edp_magic = 0;&lt;br/&gt;
         ^&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3751:7: error: implicit declaration of function &#8216;ldiskfs_add_dot_dotdot&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
  rc = ldiskfs_add_dot_dotdot(oth-&amp;gt;ot_handle, parent_dir,&lt;br/&gt;
       ^*&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_get_fid_from_dentry&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:5074:22: error: &#8216;LDISKFS_DIRENT_LUFID&#8217; undeclared (first use in this function)&lt;br/&gt;
  if (de-&amp;gt;file_type &amp;amp; LDISKFS_DIRENT_LUFID) &lt;/p&gt;
{
                      ^*
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;__osd_ea_add_rec&#8217;:
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:5407:6: error: dereferencing pointer to incomplete type &#8216;struct ldiskfs_dentry_param&#8217;
   ldp-&amp;gt;edp_magic = 0;
      ^*
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:5409:32: error: passing argument 1 of &#8216;osd_get_ldiskfs_dirent_param&#8217; from incompatible pointer type [-Werror=incompatible-pointer-types]
   osd_get_ldiskfs_dirent_param(ldp, fid);
                                ^*
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3694:13: note: expected &#8216;struct ldiskfs_dentry_param *&#8217; but argument is of type &#8216;struct ldiskfs_dentry_param *&#8217;
 static void osd_get_ldiskfs_dirent_param(struct ldiskfs_dentry_param *param,
             ^
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:5427:22: error: &#8216;LDISKFS_DIRENT_LUFID&#8217; undeclared (first use in this function)
      de-&amp;gt;file_type = LDISKFS_DIRENT_LUFID |
                      ^*
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_ldiskfs_filldir&#8217;:
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:6550:22: error: &#8216;LDISKFS_DIRENT_LUFID&#8217; undeclared (first use in this function)
  }
&lt;p&gt; else if (d_type &amp;amp; LDISKFS_DIRENT_LUFID) {&lt;br/&gt;
                      ^*&lt;br/&gt;
*In file included from /home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:56:0:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_dotdot_has_space&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/ldiskfs/ldiskfs.h:2031:77: error: invalid operands to binary &amp;amp; (have &#8216;struct ldiskfs_dir_entry_2 *&#8217; and &#8216;int&#8217;)&lt;br/&gt;
 #define LDISKFS_DIR_REC_LEN(name_len) (((name_len) + 8 + LDISKFS_DIR_ROUND) &amp;amp; \&lt;br/&gt;
                                                                             ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:6711:6: note: in expansion of macro &#8216;LDISKFS_DIR_REC_LEN&#8217;&lt;br/&gt;
  if (LDISKFS_DIR_REC_LEN(de) &amp;gt;=&lt;br/&gt;
      ^&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:6712:6: error: implicit declaration of function &#8216;__LDISKFS_DIR_REC_LEN&#8217; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
      __LDISKFS_DIR_REC_LEN(2 + 1 + sizeof(struct osd_fid_pack)))&lt;br/&gt;
      ^*&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: In function &#8216;osd_dirent_reinsert&#8217;:&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:6762:20: error: &#8216;LDISKFS_DIRENT_LUFID&#8217; undeclared (first use in this function)&lt;br/&gt;
   de-&amp;gt;file_type |= LDISKFS_DIRENT_LUFID;&lt;br/&gt;
                    ^*&lt;br/&gt;
*/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:6775:31: error: passing argument 1 of &#8216;osd_get_ldiskfs_dirent_param&#8217; from incompatible pointer type &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=incompatible-pointer-types&amp;#93;&lt;/span&gt;&lt;br/&gt;
  osd_get_ldiskfs_dirent_param(ldp, fid);&lt;br/&gt;
                               ^*&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c:3694:13: note: expected &#8216;struct ldiskfs_dentry_param *&#8217; but argument is of type &#8216;struct ldiskfs_dentry_param *&#8217;&lt;br/&gt;
 static void osd_get_ldiskfs_dirent_param(struct ldiskfs_dentry_param *param,&lt;br/&gt;
             ^&lt;br/&gt;
  CC &lt;span class=&quot;error&quot;&gt;&amp;#91;M&amp;#93;&lt;/span&gt;  /home/bgerdeb/lustre_build/lustre/lustrearm/lustre/obdclass/class_obd.o&lt;br/&gt;
/home/bgerdeb/lustre_build/lustre/lustrearm/lustre/osd-ldiskfs/osd_handler.c: At top level:&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-stringop-overflow&#8217;&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-stringop-truncation&#8217;&lt;br/&gt;
cc1: warning: unrecognized command line option &#8216;-Wno-format-truncation&#8217;&lt;/p&gt;



&lt;p&gt;&lt;b&gt;Note, I always cherry pick your patches on top of master. Will rebase and retry.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;EDIT : Tried to put in bold the errors, of course thanks to Atlassian&apos;s wonderful text editor, it failed.&lt;/p&gt;</comment>
                            <comment id="249605" author="simmonsja" created="Thu, 20 Jun 2019 16:09:37 +0000"  >&lt;p&gt;It seems Fedora is a different beast then RHEL7.6alt. Would you be willing to try Fedora30 since its a 5.0 kernel and that support is being worked on. I&apos;m hoping we can just use the same ldiskfs patch set as the 5.0 series.&lt;/p&gt;</comment>
                            <comment id="249611" author="pjones" created="Thu, 20 Jun 2019 16:37:23 +0000"  >&lt;p&gt;Talking to Marvell at ISC this week and they seemed to think that focusing on RHEL8 should be the first priority in this arena.&lt;/p&gt;</comment>
                            <comment id="249618" author="simmonsja" created="Thu, 20 Jun 2019 18:46:43 +0000"  >&lt;p&gt;Are you suggesting we drop RHEL7 alt support?&#160; Why that seems like a good idea people might be stuck with what their vendor supports &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&#160;I think their might be a delay for some time before RHEL8 is picked up ARM vendors. For ORNL we will be getting new ARM servers in soon and one set will be RHEL7 alt and the second set will be RHEL8. Thankfully other vendors haven&apos;t made the mistake of rolling their own special ARM only kernels.&lt;/p&gt;</comment>
                            <comment id="249620" author="pjones" created="Thu, 20 Jun 2019 19:04:50 +0000"  >&lt;p&gt;I am working to the assumption that it will take a little while to get Arm server support working so focusing on something with a longer shelf life would be best&lt;/p&gt;</comment>
                            <comment id="249633" author="simmonsja" created="Fri, 21 Jun 2019 01:42:53 +0000"  >&lt;p&gt;We are much closer than you think. The challenge has been getting people to test the needed changes. Now that I have worked out most of the issues for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11893&quot; title=&quot;doesn&amp;#39;t handle logical network interface properly.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11893&quot;&gt;&lt;del&gt;LU-11893&lt;/del&gt;&lt;/a&gt; I can focus on finishing this. I talked to Shaun from Cray and he is willing to work with me to finishing this work up.&lt;/p&gt;</comment>
                            <comment id="249725" author="simmonsja" created="Mon, 24 Jun 2019 03:02:33 +0000"  >&lt;p&gt;I have resolved the ldiskfs locking issues that ARM testers have reported. Should be in a good position to finish this work off.&lt;/p&gt;</comment>
                            <comment id="250054" author="gerondeau" created="Wed, 26 Jun 2019 10:15:06 +0000"  >&lt;p&gt;I have tested your patches against Fedora 30&apos;s 5.1.1 kernel, and the patches do not apply to the ext4.&lt;br/&gt;
I have also tested CentOS&apos;s &lt;a href=&quot;https://mirrors.tripadvisor.com/centos-vault/altarch/7.5.1804/kernel/Source/SPackages/kernel-4.14.43-201.el7.src.rpm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;4.14.43-201&lt;/a&gt; and the ialloc.c differs non trivially from what &quot;rhel7.6alt/ext4-corrupted-inode-block-bitmaps-handling-patches.patch&quot; expects.&lt;/p&gt;

&lt;p&gt;I&apos;d advise to use the upstream CentOS 7.6alt kernel : &lt;a href=&quot;http://vault.centos.org/centos/7/os/Source/SPackages/kernel-alt-4.14.0-115.el7a.0.1.src.rpm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; which is the one you get doing a netinstall by default (if you don&apos;t run yum update afterwards).&lt;br/&gt;
The next to latest one is this one : &lt;a href=&quot;http://vault.centos.org/centos/7/updates/Source/SPackages/kernel-alt-4.14.0-115.7.1.el7a.src.rpm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&lt;br/&gt;
For the latest one, kernel-alt-4.14.0-115.8.1.el7a, I can&apos;t seem to find the src rpm but &lt;a href=&quot;https://www.redhat.com/archives/rhsa-announce/2019-June/msg00007.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here is the changelog&lt;/a&gt; : it doesn&apos;t seem to include any changes to EXT4 (only XFS).&lt;br/&gt;
I&apos;ll try to get a diff of 7.1 and 8.1&apos;s ext4 to make sure.&lt;/p&gt;

&lt;p&gt;Concerning 7.6 vs RHEL8, I&apos;m happy to test both.&lt;br/&gt;
Since the timeline to CentOS 8 is not clear, 7.6alt is still (the most) relevant (and since I haven&apos;t tested CentOS 8, there is no assurance it is as stable as 7.6alt yet). &lt;/p&gt;</comment>
                            <comment id="252021" author="gerondeau" created="Thu, 25 Jul 2019 14:16:31 +0000"  >&lt;p&gt;I have tested out the latest lustre-release master on RHEL8 ARM64 VM and can confirm that it builds installs, runs and passes (most of) the sanity test suite with LDISKFS (in all-on-one-node configuration at the moment) !&lt;/p&gt;

&lt;p&gt;Here are the results :&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/33271/33271_results-ldiskfs-rhel8-2507.yml&quot; title=&quot;results-ldiskfs-rhel8-2507.yml attached to LU-11200&quot;&gt;results-ldiskfs-rhel8-2507.yml&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; !&lt;br/&gt;
 Will investigate further tomorrow, try to isolate the FAILS.&lt;/p&gt;</comment>
                            <comment id="256186" author="simmonsja" created="Thu, 10 Oct 2019 14:35:47 +0000"  >&lt;p&gt;Baptiste I updated&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/34714/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/34714&lt;/a&gt;&#160;This should make RHLE8 ARM fully functional.&lt;/p&gt;</comment>
                            <comment id="257173" author="gerondeau" created="Mon, 28 Oct 2019 09:24:34 +0000"  >&lt;p&gt;Thanks a lot !&lt;br/&gt;
Will take a look at it this week and report back (here I guess ? Let me know if I should open an issue/if there is a more &quot;&#224; propos&quot; issue elsewhere)&lt;/p&gt;</comment>
                            <comment id="272579" author="adilger" created="Thu, 11 Jun 2020 08:51:20 +0000"  >&lt;p&gt;The last patch for this ticket was landed in 2.14, and RHEL8 clients are working for all arches.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="55707">LU-12323</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="53614">LU-11527</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="29170">LU-6387</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="30820">LU-6766</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="52917">LU-11224</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54424">LU-11832</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47484">LU-9793</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54620">LU-11878</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52967">LU-11246</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53440">LU-11440</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55310">LU-12137</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49488">LU-10300</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="32786" name="e2fsprogs-1.45.2.wc1-0.el7.aarch64.rpm" size="1014028" author="simmonsja" created="Thu, 13 Jun 2019 14:13:35 +0000"/>
                            <attachment id="32787" name="e2fsprogs-debuginfo-1.45.2.wc1-0.el7.aarch64.rpm" size="2017904" author="simmonsja" created="Thu, 13 Jun 2019 14:13:44 +0000"/>
                            <attachment id="32788" name="e2fsprogs-devel-1.45.2.wc1-0.el7.aarch64.rpm" size="80360" author="simmonsja" created="Thu, 13 Jun 2019 14:13:50 +0000"/>
                            <attachment id="32789" name="e2fsprogs-libs-1.45.2.wc1-0.el7.aarch64.rpm" size="221016" author="simmonsja" created="Thu, 13 Jun 2019 14:13:56 +0000"/>
                            <attachment id="32790" name="e2fsprogs-static-1.45.2.wc1-0.el7.aarch64.rpm" size="247796" author="simmonsja" created="Thu, 13 Jun 2019 14:14:09 +0000"/>
                            <attachment id="32791" name="libcom_err-1.45.2.wc1-0.el7.aarch64.rpm" size="43368" author="simmonsja" created="Thu, 13 Jun 2019 14:14:18 +0000"/>
                            <attachment id="32792" name="libcom_err-devel-1.45.2.wc1-0.el7.aarch64.rpm" size="33164" author="simmonsja" created="Thu, 13 Jun 2019 14:14:24 +0000"/>
                            <attachment id="32793" name="libss-1.45.2.wc1-0.el7.aarch64.rpm" size="47656" author="simmonsja" created="Thu, 13 Jun 2019 14:14:29 +0000"/>
                            <attachment id="32794" name="libss-devel-1.45.2.wc1-0.el7.aarch64.rpm" size="31560" author="simmonsja" created="Thu, 13 Jun 2019 14:14:36 +0000"/>
                            <attachment id="32821" name="patch_to_patches_ldiskfsset20.txt" size="3151" author="gerondeau" created="Wed, 19 Jun 2019 10:33:53 +0000"/>
                            <attachment id="33271" name="results-ldiskfs-rhel8-2507.yml" size="96234" author="gerondeau" created="Thu, 25 Jul 2019 14:15:04 +0000"/>
                            <attachment id="32378" name="vmcore-dmesg.txt" size="115872" author="sihara" created="Wed, 3 Apr 2019 16:02:43 +0000"/>
                    </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|i0007j:</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>