Whamcloud - gitweb
LU-17402 kernel: RHEL 8.10 client support
authorJian Yu <yujian@whamcloud.com>
Wed, 29 May 2024 00:40:19 +0000 (17:40 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 4 Jun 2024 02:59:32 +0000 (02:59 +0000)
This patch makes changes to support RHEL 8.10 release
with kernel 4.18.0-553.el8_10 for Lustre client.

Lustre-change: https://review.whamcloud.com/54800
Lustre-commit: TBD (from 6748f47fac79e557ae21eb790b597be6449c926a)

Test-Parameters: trivial fstype=ldiskfs mdtcount=4 mdscount=2 \
  clientdistro=el8.10 serverdistro=el8.8 testlist=sanity

Test-Parameters: trivial fstype=zfs mdtcount=4 mdscount=2 \
  clientdistro=el8.10 serverdistro=el8.8 testlist=sanity

Test-Parameters: optional clientdistro=el8.10 testgroup=full-part-1
Test-Parameters: optional clientdistro=el8.10 testgroup=full-part-2
Test-Parameters: optional clientdistro=el8.10 testgroup=full-part-3

Change-Id: I0a9a262d13e0b0de3607da0982468fd8b5f6a7aa
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55207
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ChangeLog
lustre/autoconf/lustre-core.m4
lustre/kernel_patches/targets/4.18-rhel8.10.target.in [new file with mode: 0644]

index 3a28c3b..e74d4ec 100644 (file)
@@ -26,6 +26,7 @@
          4.18.0-425.19.2.el8   (RHEL8.7)
          4.18.0-477.27.1.el8   (RHEL8.8)
          4.18.0-513.24.1.el8   (RHEL8.9)
+         4.18.0-553.el8               (RHEL8.10)
          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)
index b4eac9b..8969a4d 100644 (file)
@@ -5202,6 +5202,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.10.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
diff --git a/lustre/kernel_patches/targets/4.18-rhel8.10.target.in b/lustre/kernel_patches/targets/4.18-rhel8.10.target.in
new file mode 100644 (file)
index 0000000..b8e470a
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="4.18.0"
+lnxrel="553.el8_10"
+
+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