On 9/22/21 5:21 AM, Tao Liu (via Email Bridge) wrote:
From: Tao Liu <ltao(a)redhat.com>
redhat/configs: enable CONFIG_SQUASHFS_ZSTD which is already enabled in Fedora 34
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1998953
Upstream Status: RHEL-only
Kdump will use ZSTD as the default method for initrd squashfs compression. It is helpful
for reducing the vmcore dump and read time consumption while keeping a good compression
ratio on machines with large memories. Fedora has already enabled CONFIG_SQUASHFS_ZSTD,
this patch enables CONFIG_SQUASHFS_ZSTD for RHEL by removing
configs/ark/generic/CONFIG_SQUASHFS_ZSTD
and moving configs/fedora/generic/CONFIG_SQUASHFS_ZSTD to configs/common/generic.
Signed-off-by: Tao Liu <ltao(a)redhat.com>
diff --git a/redhat/configs/ark/generic/CONFIG_SQUASHFS_ZSTD
b/redhat/configs/ark/generic/CONFIG_SQUASHFS_ZSTD
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_SQUASHFS_ZSTD
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_SQUASHFS_ZSTD is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_SQUASHFS_ZSTD
b/redhat/configs/common/generic/CONFIG_SQUASHFS_ZSTD
rename from redhat/configs/fedora/generic/CONFIG_SQUASHFS_ZSTD
rename to redhat/configs/common/generic/CONFIG_SQUASHFS_ZSTD
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_SQUASHFS_ZSTD
+++ b/redhat/configs/common/generic/CONFIG_SQUASHFS_ZSTD
Tao, thanks for doing this in ARK. If you haven't already, you'll also
have to do this for rhel-9/centos-stream-9.
P.