From 60c2827ed495ba5061838aa42f7144fabc0311ad Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Mon, 31 Oct 2022 17:58:07 -0700 Subject: [PATCH] LU-16222 kernel: RHEL 8.7 client support This patch makes changes to support RHEL 8.7 release with kernel 4.18.0-423.el8 for Lustre client. Lustre-change: https://review.whamcloud.com/48879 Lustre-commit: 293844d132b79a1d256ed4200d5dbd8bb790bfb4 Test-Parameters: trivial clientdistro=el8.7 testlist=sanity Change-Id: Ie97ff67c9a5fbd46bc145ab559665dcbc630b4a0 Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49002 Tested-by: Maloo Tested-by: jenkins Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- lustre/ChangeLog | 55 ++++++++++++++++++++++ lustre/autoconf/lustre-core.m4 | 1 + .../kernel_patches/targets/4.18-rhel8.7.target.in | 26 ++++++++++ 3 files changed, 82 insertions(+) create mode 100644 lustre/kernel_patches/targets/4.18-rhel8.7.target.in diff --git a/lustre/ChangeLog b/lustre/ChangeLog index d0eb334..b5b4f9b 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -1,3 +1,58 @@ +TBD Whamcloud + * version 2.12.10 + * See https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix + for currently supported client and server kernel versions. + * Server primary kernels built and tested during release cycle: + 3.10.0-957.27.2.el7 (RHEL7.6) + 3.10.0-1062.18.1.el7 (RHEL7.7) + 3.10.0-1127.19.1.el7 (RHEL7.8) + 3.10.0-1160.49.1.el7 (RHEL7.9) + * Server known to build on the following kernels (others may also work): + 2.6.32-696.18.7.el6 (RHEL6.9) + 3.10.0-862.14.4.el7 (RHEL7.5) + 4.4.120-92.70 (SLES12 SP2) + 4.4.180-94.97 (SLES12 SP3) + 4.4.0-142 (Ubuntu 16.04) + 4.15.0-45 (Ubuntu 18.04) + vanilla linux 4.6.7 (ZFS only) + * ldiskfs needs an ldiskfs patch series for that kernel, ZFS does not + * Client primary unpatched kernels built and tested during release cycle: + 3.10.0-957.27.2.el7 (RHEL7.6) + 3.10.0-1062.18.1.el7 (RHEL7.7) + 3.10.0-1127.19.1.el7 (RHEL7.8) + 3.10.0-1160.49.1.el7 (RHEL7.9) + 4.18.0-80.11.2.el8 (RHEL8.0) + 4.4.180-94.97 (SLES12 SP3) + 4.12.14-95.54 (SLES12 SP4) + 4.12.14-122.91 (SLES12 SP5) + 4.15.0-45 (Ubuntu 18.04) + * Client known to build on unpatched kernels (others may also work): + 2.6.32-696.18.7.el6 (RHEL6.9) + 2.6.32-754.6.3.el6 (RHEL6.10) + 3.10.0-862.14.4.el7 (RHEL7.5) + 4.14.0-49.13.1.el7a (RHEL7.5) + 4.14.0-115.2.2.el7a (RHEL7.6) + 4.18.0-147.3.1.el8 (RHEL8.1) + 4.18.0-193.28.1.el8 (RHEL8.2) + 4.18.0-240.22.1.el8 (RHEL8.3) + 4.18.0-305.19.1.el8 (RHEL8.4) + 4.18.0-348.2.1.el8 (RHEL8.5) + 4.18.0-372.9.1.el8 (RHEL8.6) + 4.18.0-423.el8 (RHEL8.7) + 4.4.120-92.70 (SLES12 SP2) + 4.4.0-142 (Ubuntu 16.04) + vanilla linux 4.15.0 (ZFS only) + * Recommended e2fsprogs version: 1.46.5.wc1 or newer + * Recommended ZFS / SPL version: 0.7.13 + * NFS export disabled when stack size < 8192 (32-bit Lustre clients), + since the NFSv4 export of Lustre filesystem with 4K stack may cause a + stack overflow. For more information, please refer to bugzilla 17630. + * NFSv4 reexport to 32-bit NFS client nodes requires Lustre client on + the re-exporting nodes to be mounted with "32bitapi" mount option + * Note for Ubuntu 14.04.5: + The 4.4.0 series is the HWE Kernel derived from 16.04 (Xenial). + See: https://wiki.ubuntu.com/Kernel/LTSEnablementStack + 2022-06-17 Whamcloud * version 2.12.9 * See https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 401a5c2..f7ccac3 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -3810,6 +3810,7 @@ lustre/doc/Makefile lustre/include/Makefile lustre/include/lustre/Makefile lustre/include/uapi/linux/lustre/Makefile +lustre/kernel_patches/targets/4.18-rhel8.7.target lustre/kernel_patches/targets/4.18-rhel8.6.target lustre/kernel_patches/targets/4.18-rhel8.5.target lustre/kernel_patches/targets/4.18-rhel8.4.target diff --git a/lustre/kernel_patches/targets/4.18-rhel8.7.target.in b/lustre/kernel_patches/targets/4.18-rhel8.7.target.in new file mode 100644 index 0000000..6ea8a2d --- /dev/null +++ b/lustre/kernel_patches/targets/4.18-rhel8.7.target.in @@ -0,0 +1,26 @@ +lnxmaj="4.18.0" +lnxrel="423.el8" + +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