<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:03:04 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-6766] add support for arm64</title>
                <link>https://jira.whamcloud.com/browse/LU-6766</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Expand lustre to support the ARM64 platform.&lt;/p&gt;

&lt;p&gt;A first patch will be submitted shortly to enable basic compilation:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the architecture is reported as aarch64 so add that support to lustre-build-linux.m4,&lt;/li&gt;
	&lt;li&gt;for the Red Hat/Fedora packaging, strip the aarch64 suffix for the required kernel,&lt;/li&gt;
	&lt;li&gt;add definitions for lstat_t, lstat_f, fstat_f and fstatat_f for aarch64 architecture in lustre/include/lustre/lustre_user.h.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Moreover, the SYS_chown syscall is not available on arm64 (because as __ARCH_WANT_SYSCALL_NO_AT is not defined, __NR_chown is not defined in /usr/include/asm-generic/unistd.h). So the following call in lustre/utils/liblustreapi.c must be modified:&lt;/p&gt;

&lt;p&gt;        /* libc chown() will do extra check, and if the real owner is&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the same as the ones to set, it won&apos;t fall into kernel, so&lt;/li&gt;
	&lt;li&gt;invoke syscall directly. */&lt;br/&gt;
        rc = syscall(SYS_chown, path, -1, -1);&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This leaves several options:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the code dates back to 2007, glibc has evolved since then and it can be replaced with `chown()`.&lt;/li&gt;
	&lt;li&gt;replace it with `syscall(SYS_openat, ...)` and `syscall(SYS_fchownat, ...)`.&lt;/li&gt;
	&lt;li&gt;add `#ifdef _&lt;em&gt;aarch64&lt;/em&gt;_` and a call to `chown()`.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Does someone more qualified have an opinion?&lt;/p&gt;</description>
                <environment>arm64</environment>
        <key id="30820">LU-6766</key>
            <summary>add support for arm64</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="wc-triage">WC Triage</assignee>
                                    <reporter username="aguignard">Arnaud Guignard</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 25 Jun 2015 11:40:58 +0000</created>
                <updated>Wed, 2 Jan 2019 04:08:09 +0000</updated>
                            <resolved>Thu, 3 Sep 2015 15:17:38 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="119589" author="gerrit" created="Thu, 25 Jun 2015 11:49:24 +0000"  >&lt;p&gt;Arnaud Guignard (aguignard@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15395&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15395&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6766&quot; title=&quot;add support for arm64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6766&quot;&gt;&lt;del&gt;LU-6766&lt;/del&gt;&lt;/a&gt; build: add support for arm64&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5fd66dbeaee8f58387c59a1cf0149a8aaf1ef696&lt;/p&gt;</comment>
                            <comment id="119592" author="gerrit" created="Thu, 25 Jun 2015 12:38:20 +0000"  >&lt;p&gt;Arnaud Guignard (aguignard@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15396&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6766&quot; title=&quot;add support for arm64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6766&quot;&gt;&lt;del&gt;LU-6766&lt;/del&gt;&lt;/a&gt; utils: replace syscall() to SYS_chown by chown()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8707aff89d1f214022fc806f0a4a6f9e4c7634a7&lt;/p&gt;</comment>
                            <comment id="119595" author="simmonsja" created="Thu, 25 Jun 2015 13:15:48 +0000"  >&lt;p&gt;Is this for big endian or little endian support?&lt;/p&gt;</comment>
                            <comment id="119596" author="aguignard" created="Thu, 25 Jun 2015 13:30:43 +0000"  >&lt;p&gt;It has only been tested on little endian AArch64.&lt;/p&gt;</comment>
                            <comment id="120299" author="green" created="Fri, 3 Jul 2015 18:11:15 +0000"  >&lt;p&gt;The big question I have is how do we go about ensuring this code stays working once accepted?&lt;br/&gt;
We do not have any arm or arm64 hardware in our test lab.&lt;br/&gt;
Without at least periodic testing this code will bit-rot, I fear (as has happened with many other bits that were not regularly tested and are now being removed or were already removed as broken).&lt;br/&gt;
What&apos;s your plan to ensure long-term viability of this code?&lt;/p&gt;</comment>
                            <comment id="120340" author="adegremont" created="Sat, 4 Jul 2015 06:48:05 +0000"  >&lt;p&gt;These 2 patches ables Lustre to try to built on ARM64. There is no bitwise related code in theses patches. Just adding aarch64 to the list where architecture are managed.&lt;/p&gt;

&lt;p&gt;For now, the client code runs on our ARM64 nodes. We agree there is no guarantee the code is fully ARM64 compatible. But, anyway, this architecture is not officially supported. Let&apos;s fix the built code which currently prevent Lustre from building on ARM64. This is the first step to have a broader testing of Lustre code on this arch. If it is easy to test it, more people will do it. Eventually this arch will be fully debugged and official. &lt;br/&gt;
Theses patches do not add several new files/headers specific for this arch.&lt;/p&gt;</comment>
                            <comment id="120928" author="gerrit" created="Fri, 10 Jul 2015 03:14:18 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15396/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15396/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6766&quot; title=&quot;add support for arm64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6766&quot;&gt;&lt;del&gt;LU-6766&lt;/del&gt;&lt;/a&gt; utils: remove llapi_quotachown() and cb_quotachown()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fd6f11c92e2f6f54384d1ebd3474a77b0c0ded95&lt;/p&gt;</comment>
                            <comment id="120957" author="pjones" created="Fri, 10 Jul 2015 12:16:28 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                            <comment id="120961" author="aguignard" created="Fri, 10 Jul 2015 12:27:01 +0000"  >&lt;p&gt;The issue is not resolved: the main patch &lt;a href=&quot;http://review.whamcloud.com/#/c/15395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/15395/&lt;/a&gt; has not been merged yet.&lt;/p&gt;</comment>
                            <comment id="120962" author="pjones" created="Fri, 10 Jul 2015 12:29:33 +0000"  >&lt;p&gt;Apologies&lt;/p&gt;</comment>
                            <comment id="121910" author="adegremont" created="Wed, 22 Jul 2015 14:20:43 +0000"  >&lt;p&gt;Only one of the 2 patches for this ticket is landed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/15395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/15395/&lt;/a&gt; has all green lights and 3x &quot;+1&quot; (2 from Intel devs and 1 from James Simmons).&lt;/p&gt;

&lt;p&gt;Is there any reason I missed preventing this 7-line patch from landing?&lt;/p&gt;</comment>
                            <comment id="126000" author="adegremont" created="Wed, 2 Sep 2015 09:45:32 +0000"  >&lt;p&gt;This was just moved to 2.9 as the code freeze is approaching I assume.&lt;br/&gt;
However this patch and fix for this ticket is very ready for a while now without any issue at all.&lt;/p&gt;

&lt;p&gt;I disappointed this patch is going to miss this window as it was ready for a while and it has only green lights and nobody really raised an problem...&lt;/p&gt;</comment>
                            <comment id="126010" author="pjones" created="Wed, 2 Sep 2015 12:46:18 +0000"  >&lt;p&gt;Aurelien&lt;/p&gt;

&lt;p&gt;It is still possible for this patch to make 2.8. The FixVersion change reflects that code freeze is approaching and the remaining fix is not critical to include. As I understand it, communication has been sent directly to CEA outside of this ticket about this remaining patch. As you have sent me a note directly, let&apos;s work out these details on that thread and then re-post hear when we have reached a conclusion.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="126162" author="gerrit" created="Thu, 3 Sep 2015 14:39:54 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15395/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6766&quot; title=&quot;add support for arm64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6766&quot;&gt;&lt;del&gt;LU-6766&lt;/del&gt;&lt;/a&gt; build: add support for arm64&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 79ec8eaa7b83e522f754bc685110915ad216e548&lt;/p&gt;</comment>
                            <comment id="126179" author="jgmitter" created="Thu, 3 Sep 2015 15:17:38 +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 ">
                                        <issuelink>
            <issuekey id="54424">LU-11832</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21816">LU-4199</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="52887">LU-11200</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|hzxglz:</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>