File 0012-LU-15404-ldiskfs-port-truncate-fix-to-Ubuntu-20-HWE.patch of Package lustre_2_15

From f3b0463a3e73aa3dd42a2b1e9bc341af0801929f Mon Sep 17 00:00:00 2001
From: James Simmons <jsimmons@infradead.org>
Date: Tue, 8 Feb 2022 10:56:18 -0700
Subject: [PATCH 12/30] LU-15404 ldiskfs: port truncate fix to Ubuntu 20 HWE

A fixed landed for the LU-15404 bug which a truncate vs setxattr
race caused a kernel crash. This fix wasn't added in for new
Ubuntu 20 HWE kernels and the 5.10 kernel.

Change-Id: I43b33cd28335d1bc5796aa6651ecf847b4ea24e6
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/46480
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
---
 ldiskfs/kernel_patches/series/ldiskfs-5.10.0-ml.series         | 1 +
 ldiskfs/kernel_patches/series/ldiskfs-5.8.0-53-ubuntu20.series | 1 +
 ldiskfs/kernel_patches/series/ldiskfs-5.8.0-63-ubuntu20.series | 1 +
 3 files changed, 3 insertions(+)

diff --git a/ldiskfs/kernel_patches/series/ldiskfs-5.10.0-ml.series b/ldiskfs/kernel_patches/series/ldiskfs-5.10.0-ml.series
index 74d865d9d87c..6e2f0ddae82d 100644
--- a/ldiskfs/kernel_patches/series/ldiskfs-5.10.0-ml.series
+++ b/ldiskfs/kernel_patches/series/ldiskfs-5.10.0-ml.series
@@ -29,3 +29,4 @@ linux-5.8/ext4-no-max-dir-size-limit-for-iam-objects.patch
 rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch
 base/ext4-projid-xattrs.patch
 linux-5.8/ext4-enc-flag.patch
+base/ext4-delayed-iput.patch
diff --git a/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-53-ubuntu20.series b/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-53-ubuntu20.series
index 1278d70ca7db..f46e7673ce24 100644
--- a/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-53-ubuntu20.series
+++ b/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-53-ubuntu20.series
@@ -30,3 +30,4 @@ linux-5.8/ext4-no-max-dir-size-limit-for-iam-objects.patch
 rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch
 base/ext4-projid-xattrs.patch
 linux-5.8/ext4-enc-flag.patch
+base/ext4-delayed-iput.patch
diff --git a/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-63-ubuntu20.series b/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-63-ubuntu20.series
index d056622dfd40..39809b0d8a93 100644
--- a/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-63-ubuntu20.series
+++ b/ldiskfs/kernel_patches/series/ldiskfs-5.8.0-63-ubuntu20.series
@@ -30,3 +30,4 @@ linux-5.8/ext4-no-max-dir-size-limit-for-iam-objects.patch
 rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch
 base/ext4-projid-xattrs.patch
 linux-5.8/ext4-enc-flag.patch
+base/ext4-delayed-iput.patch
-- 
2.38.1

openSUSE Build Service is sponsored by