[LU-9223] Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS Created: 17/Mar/17  Updated: 26/Mar/17  Resolved: 26/Mar/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0
Fix Version/s: Lustre 2.10.0

Type: Improvement Priority: Minor
Reporter: Keith Mannthey (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS 7 base OS. Linux 4.4.54-1.el7; ZFS 0.6.5.7


Rank (Obsolete): 9223372036854775807

 Description   

While building Master(also seen on Lustre 2.9) there was an error building regarding

#define XATTR_NAME_POSIX_ACL_ACCESS XATTR_SYSTEM_PREFIX XATTR_POSIX_ACL_ACCESS 
^In file included from /var/lib/dkms/lustre/2.9.0/build/lustre/include/lvfs.h:45:0, 
                        from /var/lib/dkms/lustre/2.9.0/build/lustre/include/obd.h:51,                 
                        from /var/lib/dkms/lustre/2.9.0/build/lustre/osd-zfs/osd_handler.c:46:/var/lib/dkms/lustre/2.9.0/build/lustre/include/lustre_compat.h:257:0: 
note: this is the location of the previous definition # define XATTR_NAME_POSIX_ACL_ACCESS POSIX_ACL_XATTR_ACCESS

Adding #include <linux/xattr.h> to lustre_compat.h fixed the issues.



 Comments   
Comment by Gerrit Updater [ 18/Mar/17 ]

Keith Mannthey (keith.mannthey@intel.com) uploaded a new patch: https://review.whamcloud.com/26076
Subject: LU-9223: Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2b0829ec6572cec8e4b3f4ac3634ecda9e22c0f7

Comment by Keith Mannthey (Inactive) [ 18/Mar/17 ]

https://review.whamcloud.com/26076 added to track a basic patch.

Comment by Joseph Gmitter (Inactive) [ 20/Mar/17 ]

Hi Dmitry,

Do you already have this patch in the works?

Thanks.
Joe

Comment by Dmitry Eremin (Inactive) [ 20/Mar/17 ]

No, this is different issue. My patches are for client code.

Comment by Gerrit Updater [ 26/Mar/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26076/
Subject: LU-9223: Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8961816b87b626319f273874948b37edcba7a542

Comment by Peter Jones [ 26/Mar/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:24:18 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.