Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.7
    • None
    • None
    • 9223372036854775807

    Description

      New struct mnt_idmap wraps user namespace struct and changes several inode_operations functions (getattr, setattr ...)

      New header <linux/filelock.h> and also breaks locks_lock_file_wait() test.

      struct kernel_cap_t changed from any array of u32s to a single u64 breaking several lustre apis.

      Continue using the lower 32 bits to maintain compatibility:

      As of linux commit v3.6-10973-g607ca46e97a1 lustre implicitly
      started to ignore some capabilities, see: include/uapi/linux/capability.h
      Last capability flag was added in linux commit v5.8-rc5-1-g124ea650d307
      The capabilities the Lustre ignores are:

      • CAP_MAC_OVERRIDE
      • CAP_MAC_ADMIN
      • CAP_SYSLOG
      • CAP_WAKE_ALARM
      • CAP_BLOCK_SUSPEND
      • CAP_AUDIT_READ
      • CAP_PERFMON
      • CAP_BPF
      • CAP_CHECKPOINT_RESTORE
        None of which appear to be important to Lustre operations and should
        be fine to continue ignore.

      Attachments

        Activity

          [LU-16667] Linux 6.3 client support

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59083/
          Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 2dd7fcd948ea4d720f141c7224ddbcec9255cb0b

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/59083/ Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 2dd7fcd948ea4d720f141c7224ddbcec9255cb0b

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59083
          Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: f566ab8476603898b52d03443c98e992b146a563

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59083 Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: f566ab8476603898b52d03443c98e992b146a563
          pjones Peter Jones added a comment -

          Merged for 2.16

          pjones Peter Jones added a comment - Merged for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50420/
          Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 3011aa564a8c682aafbc6071b9866e266d8a6232

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50420/ Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3011aa564a8c682aafbc6071b9866e266d8a6232

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50421/
          Subject: LU-16667 build: kernel_cap_t contains u64
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: ea9532fb731bbfe041010e2224219479c2c0d71b

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50421/ Subject: LU-16667 build: kernel_cap_t contains u64 Project: fs/lustre-release Branch: master Current Patch Set: Commit: ea9532fb731bbfe041010e2224219479c2c0d71b

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51633
          Subject: LU-16667 build: kernel_cap_t contains u64 (DUPE)
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 53e1fa3670949c3a6c0145c9e7d229e7bef68333

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51633 Subject: LU-16667 build: kernel_cap_t contains u64 (DUPE) Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 53e1fa3670949c3a6c0145c9e7d229e7bef68333

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50421
          Subject: LU-16667 build: kernel_cap_t contains u64
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ce88c0e3a30ecf3ae060eca464af22df147dd7f4

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50421 Subject: LU-16667 build: kernel_cap_t contains u64 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ce88c0e3a30ecf3ae060eca464af22df147dd7f4

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50420
          Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 465d34cfbcb0c3e44458f373feb91a78a1dc44e3

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50420 Subject: LU-16667 build: struct mnt_idmap, linux/filelock.h Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 465d34cfbcb0c3e44458f373feb91a78a1dc44e3

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: