From 968a050f94c21aa48de9a5d9c034a4216e18aa46 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Tue, 8 Feb 2022 10:56:18 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.whamcloud.com/46480 Reviewed-by: Andrew Perepechko Tested-by: jenkins Tested-by: Maloo Reviewed-by: Li Dongyang Reviewed-by: Oleg Drokin --- 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 74d865d..6e2f0dd 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 1278d70..f46e767 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 d056622..39809b0 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 -- 1.8.3.1