[LU-16667] Linux 6.3 client support Created: 25/Mar/23  Updated: 05/Nov/23  Resolved: 20/Jul/23

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

Type: Improvement Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 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.


 Comments   
Comment by Gerrit Updater [ 25/Mar/23 ]

"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

Comment by Gerrit Updater [ 25/Mar/23 ]

"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

Comment by Gerrit Updater [ 11/Jul/23 ]

"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

Comment by Gerrit Updater [ 14/Jul/23 ]

"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

Comment by Gerrit Updater [ 19/Jul/23 ]

"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

Comment by Peter Jones [ 20/Jul/23 ]

Merged for 2.16

Generated at Sat Feb 10 03:28:59 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.