Whamcloud - gitweb
LU-17246 build: Refine SUSE 15 SP3 ldiskfs version 43/52943/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 1 Nov 2023 09:52:49 +0000 (04:52 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 25 Jun 2024 03:25:32 +0000 (03:25 +0000)
SUSE linux-5.3.18-150300.59.60_7.0.4.15 should select
5.3.18-sles15sp3.series however a recent change maps
linux-5.3.18-150300.59.* to 5.3.18-sles15sp3-59.series
which does not apply.

Lustre should also consider the patch level [Ex: 60]
and map 59.60* to 5.3.18-sles15sp3.series while
61 and later should map to 5.3.18-sles15sp3-59.series

The sles15sp3*.series should also include
  base/ext4-delayed-iput.patch
  base/ext4-delayed-iput.patch

Test-Parameters: trivial
HPE-bug-id: LUS-11910
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I68d6ecfc94e9edf7c657e743fbdbdb58b39bf191
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52943
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
config/lustre-build-ldiskfs.m4
ldiskfs/kernel_patches/series/ldiskfs-5.3.18-sles15sp3-59.series
ldiskfs/kernel_patches/series/ldiskfs-5.3.18-sles15sp3.series

index f1bda1c..46be323 100644 (file)
@@ -76,6 +76,10 @@ AS_IF([test x$RHEL_KERNEL = xyes], [
                        update=$(echo $LINUXRELEASE | cut -d- -f2 | cut -d. -f2)
                        if test $update -ge 59; then
                                LDISKFS_SERIES="5.3.18-sles15sp3-59.series"
+                               up_patch=$(echo $LINUXRELEASE | cut -d- -f2 | cut -d. -f3 | cut -d_ -f1)
+                               if test $update -eq 59 -a $up_patch -le 60; then
+                                       LDISKFS_SERIES="5.3.18-sles15sp3.series"
+                               fi
                        fi
                        ;;
                15sp4 ) LDISKFS_SERIES="5.14.21-sles15sp4.series"
index 7e6e7b3..78bbe54 100644 (file)
@@ -31,5 +31,6 @@ rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch
 rhel8/ext4-ext-merge.patch
 base/ext4-projid-xattrs.patch
 linux-5.8/ext4-enc-flag.patch
+base/ext4-delayed-iput.patch
 rhel8/ext4-old_ea_inodes_handling_fix.patch
 rhel8/ext4-encdata.patch
index 8eae8ad..6316047 100644 (file)
@@ -31,5 +31,6 @@ rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch
 rhel8/ext4-ext-merge.patch
 base/ext4-projid-xattrs.patch
 linux-5.8/ext4-enc-flag.patch
+base/ext4-delayed-iput.patch
 rhel8/ext4-old_ea_inodes_handling_fix.patch
 rhel8/ext4-encdata.patch