From 3eba8a042f157ca63e3efacdf8b5b1cdd4dd314d Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Mon, 20 Nov 2023 14:32:40 -0800 Subject: [PATCH] LU-17275 kernel: RHEL 8.9 client support This patch makes changes to support RHEL 8.9 release with kernel 4.18.0-513.5.1.el8_9 for Lustre client. Lustre-change: https://review.whamcloud.com/53071 Lustre-commit: TBD (from 0da16c715a06b6426a6b99c111147fc875784e85) Test-Parameters: trivial mdtcount=4 mdscount=2 \ clientdistro=el8.9 serverdistro=el8.8 testlist=sanity Test-Parameters: optional clientdistro=el8.9 serverdistro=el8.8 \ testgroup=full-part-1 Test-Parameters: optional clientdistro=el8.9 serverdistro=el8.8 \ testgroup=full-part-2 Test-Parameters: optional clientdistro=el8.9 serverdistro=el8.8 \ testgroup=full-part-3 Change-Id: Ia3672d134534b877bb6aaffb4cea0339bc55974f Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53089 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Andreas Dilger --- lustre/ChangeLog | 3 ++- lustre/autoconf/lustre-core.m4 | 1 + .../kernel_patches/targets/4.18-rhel8.9.target.in | 26 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 lustre/kernel_patches/targets/4.18-rhel8.9.target.in diff --git a/lustre/ChangeLog b/lustre/ChangeLog index bd86f8b..e82c2e2 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -25,6 +25,7 @@ 4.18.0-372.32.1.el8 (RHEL8.6) 4.18.0-425.19.2.el8 (RHEL8.7) 4.18.0-477.27.1.el8 (RHEL8.8) + 4.18.0-513.5.1.el8 (RHEL8.9) 5.14.0-70.30.1.el9 (RHEL9.0) 5.14.0-162.23.1.el9 (RHEL9.1) 5.14.0-284.30.1.el9 (RHEL9.2) @@ -56,7 +57,7 @@ 4.4.0-131 (Ubuntu 16.04) 4.15.0-48 (Ubuntu 18.04) 5.4.0 (vanilla kernel.org) - * Recommended e2fsprogs version: 1.46.6-wc1 or newer + * Recommended e2fsprogs version: 1.47.0-wc5 or newer * Recommended ZFS version: 2.1.2 * NFS export disabled when stack size < 8192 (32-bit Lustre clients), since the NFSv4 export of Lustre filesystem with 4K stack may cause a diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 3aea3ed..64f54aa 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -4657,6 +4657,7 @@ lustre/kernel_patches/targets/5.14-rhel9.3.target lustre/kernel_patches/targets/5.14-rhel9.2.target lustre/kernel_patches/targets/5.14-rhel9.1.target lustre/kernel_patches/targets/5.14-rhel9.0.target +lustre/kernel_patches/targets/4.18-rhel8.9.target lustre/kernel_patches/targets/4.18-rhel8.8.target lustre/kernel_patches/targets/4.18-rhel8.7.target lustre/kernel_patches/targets/4.18-rhel8.6.target diff --git a/lustre/kernel_patches/targets/4.18-rhel8.9.target.in b/lustre/kernel_patches/targets/4.18-rhel8.9.target.in new file mode 100644 index 0000000..4cf548b --- /dev/null +++ b/lustre/kernel_patches/targets/4.18-rhel8.9.target.in @@ -0,0 +1,26 @@ +lnxmaj="4.18.0" +lnxrel="513.5.1.el8_9" + +KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm +SERIES="" +EXTRA_VERSION=${lnxrel}_lustre.@VERSION@ +LUSTRE_VERSION=@VERSION@ + +DEVEL_PATH_ARCH_DELIMETER="." +OFED_VERSION=inkernel + +BASE_ARCHS="i686 x86_64 ia64 ppc64" +BIGMEM_ARCHS="" +BOOT_ARCHS="" +JENSEN_ARCHS="" +#SMP_ARCHS="i686 x86_64 ia64 ppc64" +# RHEL8 doesn't use smp specific kernels +SMP_ARCHS="" +UP_ARCHS="" + +for cc in gcc ; do + if which $cc >/dev/null 2>/dev/null ; then + export CC=$cc + break + fi +done -- 1.8.3.1