[LU-6766] add support for arm64 Created: 25/Jun/15 Updated: 02/Jan/19 Resolved: 03/Sep/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Arnaud Guignard | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
arm64 |
||
| Issue Links: |
|
||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Expand lustre to support the ARM64 platform. A first patch will be submitted shortly to enable basic compilation:
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: /* libc chown() will do extra check, and if the real owner is
This leaves several options:
Does someone more qualified have an opinion? |
| Comments |
| Comment by Gerrit Updater [ 25/Jun/15 ] |
|
Arnaud Guignard (aguignard@gmail.com) uploaded a new patch: http://review.whamcloud.com/15395 |
| Comment by Gerrit Updater [ 25/Jun/15 ] |
|
Arnaud Guignard (aguignard@gmail.com) uploaded a new patch: http://review.whamcloud.com/15396 |
| Comment by James A Simmons [ 25/Jun/15 ] |
|
Is this for big endian or little endian support? |
| Comment by Arnaud Guignard [ 25/Jun/15 ] |
|
It has only been tested on little endian AArch64. |
| Comment by Oleg Drokin [ 03/Jul/15 ] |
|
The big question I have is how do we go about ensuring this code stays working once accepted? |
| Comment by Aurelien Degremont (Inactive) [ 04/Jul/15 ] |
|
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. 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'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. |
| Comment by Gerrit Updater [ 10/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15396/ |
| Comment by Peter Jones [ 10/Jul/15 ] |
|
Landed for 2.8 |
| Comment by Arnaud Guignard [ 10/Jul/15 ] |
|
The issue is not resolved: the main patch http://review.whamcloud.com/#/c/15395/ has not been merged yet. |
| Comment by Peter Jones [ 10/Jul/15 ] |
|
Apologies |
| Comment by Aurelien Degremont (Inactive) [ 22/Jul/15 ] |
|
Only one of the 2 patches for this ticket is landed. http://review.whamcloud.com/#/c/15395/ has all green lights and 3x "+1" (2 from Intel devs and 1 from James Simmons). Is there any reason I missed preventing this 7-line patch from landing? |
| Comment by Aurelien Degremont (Inactive) [ 02/Sep/15 ] |
|
This was just moved to 2.9 as the code freeze is approaching I assume. 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... |
| Comment by Peter Jones [ 02/Sep/15 ] |
|
Aurelien 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's work out these details on that thread and then re-post hear when we have reached a conclusion. Thanks Peter |
| Comment by Gerrit Updater [ 03/Sep/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15395/ |
| Comment by Joseph Gmitter (Inactive) [ 03/Sep/15 ] |
|
Landed for 2.8. |