Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9223

Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • Lustre 2.9.0
    • None
    • CentOS 7 base OS. Linux 4.4.54-1.el7; ZFS 0.6.5.7
    • 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.

      Attachments

        Activity

          [LU-9223] Server on Linux 4.4: XATTR_NAME_POSIX_ACL_ACCESS
          pjones Peter Jones added a comment -

          Landed for 2.10

          pjones Peter Jones added a comment - Landed for 2.10

          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

          gerrit Gerrit Updater added a comment - 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

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

          dmiter Dmitry Eremin (Inactive) added a comment - No, this is different issue. My patches are for client code.

          Hi Dmitry,

          Do you already have this patch in the works?

          Thanks.
          Joe

          jgmitter Joseph Gmitter (Inactive) added a comment - Hi Dmitry, Do you already have this patch in the works? Thanks. Joe
          keith Keith Mannthey (Inactive) added a comment - https://review.whamcloud.com/26076 added to track a basic patch.

          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

          gerrit Gerrit Updater added a comment - 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

          People

            dmiter Dmitry Eremin (Inactive)
            keith Keith Mannthey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: