[LU-15420] Linux kernel 5.15 support Created: 07/Jan/22  Updated: 11/Jan/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-12511 Prepare lustre for adoption into the ... Open
is related to LU-15220 Linux kernel 5.14 support Resolved
is related to LU-17400 lfs changelog 08RENME records changel... Open
is related to LU-15781 Ubuntu 22.04 LTS release support Open
is related to LU-15798 RHEL9 / gcc-11 adds -Wstringop-overre... Open
is related to LU-15521 RPM 4.16 support Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Main changes needed to support Linux kernel 5.15 include:

  • Compile the kernel with warnings as errors (WERROR) [N/y/?] (NEW)
    (kernel commits 3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151 and b339ec9c229aaf399296a120d7be0e34fbc355ca)
  • Remove deprecated CPU-hotplug functions get_online_cpus() and put_online_cpus()
    (kernel commit 8c854303ce0e38e5bbedd725ff39da7e235865d8)
  • Add rcu argument to ->get_acl() callback
    (kernel commit 0cad6246621b5887d5b33fea84219d2a71f2f99a) 


 Comments   
Comment by Gerrit Updater [ 13/Jan/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46085
Subject: LU-15420 libcfs: replace deprecated CPU-hotplug functions
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c531bac68680b899ba34a4e16bd8528937b4f06b

Comment by Gerrit Updater [ 13/Jan/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46086
Subject: LU-15420 llite: add rcu argument to ->get_acl() callback
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bbda1407545778e2e11cd18e537cbf405da6b9ee

Comment by Gerrit Updater [ 26/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46085/
Subject: LU-15420 libcfs: replace deprecated CPU-hotplug functions
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e5c9e8af58928ba7c4f288d49dbab596deec243f

Comment by Gerrit Updater [ 26/Jan/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46319
Subject: LU-15420 uapi: avoid gcc-11 -Werror=stringop-overread warning
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5641f3c789978fd27bf0ece781eb7138599c3e50

Comment by Gerrit Updater [ 10/Feb/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46494
Subject: LU-15420 snmp: avoid gcc-11 -Werror=sizeof-array-div warning
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 36292c5f60aec5fed9da7e6760c2c5a7fe00c459

Comment by Gerrit Updater [ 25/Apr/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47133
Subject: LU-15420 build: fixes to support building on Ubuntu 22.04 LTS
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1e00440dd0a45cdb705f361ca9f25dd0c9ff32ae

Comment by James A Simmons [ 09/May/22 ]

Need to do one more patch to support native fscrypt.

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46086/
Subject: LU-15420 llite: add rcu argument to ->get_acl() callback
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 085311dc739903f751d11dc4244aea6316ccb7bd

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46319/
Subject: LU-15420 uapi: avoid gcc-11 -Werror=stringop-overread
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6331eadbd60a8c58c1c456548d067aaf772dfbaf

Comment by Gerrit Updater [ 23/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47706
Subject: LU-15420 llite: add rcu argument to ->get_acl() callback
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 75932b0d606173d34836491d9c99cbd5ba4b2a82

Comment by Gerrit Updater [ 23/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47707
Subject: LU-15420 uapi: avoid gcc-11 -Werror=stringop-overread
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: ddd0ce1c0cb6ce66c8a9043d06cababd8ad774c3

Comment by Gerrit Updater [ 24/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47750
Subject: LU-15420 build: fixes to support building on Ubuntu 22.04 LTS
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 1c1bcdba83c108ef623e0c3def4ff19399be4619

Comment by Gerrit Updater [ 27/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47133/
Subject: LU-15420 build: fixes to support building on Ubuntu 22.04 LTS
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c04adbcd76725a360f411f09c63df785bf7db426

Comment by Gerrit Updater [ 05/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47706/
Subject: LU-15420 llite: add rcu argument to ->get_acl() callback
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 89a6ce19c2960150af9cd9d30b934442d77b5f36

Comment by Gerrit Updater [ 05/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47707/
Subject: LU-15420 uapi: avoid gcc-11 -Werror=stringop-overread
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 7e73018fa6b25eab57c81aea5d97e0fcfdd4f0dc

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47750/
Subject: LU-15420 build: fixes to support building on Ubuntu 22.04 LTS
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 0a81f499fdc48047e6c95b4629e108eafd220cbd

Comment by Gerrit Updater [ 10/Nov/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49125
Subject: LU-15420 sec: handle simple fscrypt changes for 5.15 kernels
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b4c6d2d5549300d1f86518e378da1a2e40902211

Comment by Gerrit Updater [ 26/Dec/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49517
Subject: LU-15420 fscrypt: test require_key
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: de89c354dd691ef6a63f3f7ef12e5da385e796ce

Comment by Gerrit Updater [ 17/Feb/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49125/
Subject: LU-15420 sec: handle simple fscrypt changes for 5.15 kernels
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 048e2cc7d2d52870a48c4df2abd3944114c96271

Comment by Andreas Dilger [ 24/May/23 ]

James, I just noticed that the patches here are adding Ubuntu 22.04 build support for the client, but there is no entry in lustre/ChangeLog.

Could you (or Shaun or Jian) please add that to the next kernel patch you submit so that users know this is possible.

Comment by James A Simmons [ 25/May/23 ]

I reason I delayed was the lack of native fscrypt support. I need to work on one more patch to truly support 5.15 natively.

Comment by Liyi Meng [ 19/Aug/23 ]

Hi @James,  any progress on this? I am curious what is the missing bits. Maybe I can help with some testing?

Comment by Gerrit Updater [ 03/Oct/23 ]

"Timothy Day <timday@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52568
Subject: LU-15420 uapi: fix rename changelog corruption
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 25ac89ae39f24e6f11c48819f5e55dd96faae581

Comment by Gerrit Updater [ 01/Dec/23 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53308
Subject: LU-15420 build: fixes to support building on Ubuntu 22.04 LTS
Project: fs/lustre-release
Branch: b2_14
Current Patch Set: 1
Commit: e878f14c3566722c0763a8a37359aab464f7e869

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