[PATCH 01/11] makedumpfile: Add dump header for zstd.

Tao Liu ltao at redhat.com
Fri Sep 10 03:33:08 PDT 2021


Signed-off-by: Tao Liu <ltao at redhat.com>
Signed-off-by: Coiby Xu <coxu at redhat.com>
---
 diskdump_mod.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/diskdump_mod.h b/diskdump_mod.h
index 3733953..e4bce5c 100644
--- a/diskdump_mod.h
+++ b/diskdump_mod.h
@@ -98,6 +98,7 @@ struct kdump_sub_header {
 #define DUMP_DH_COMPRESSED_INCOMPLETE	0x8
 					/* indicate an incomplete dumpfile */
 #define DUMP_DH_EXCLUDED_VMEMMAP 0x10	/* unused vmemmap pages are excluded */
+#define DUMP_DH_COMPRESSED_ZSTD  0x20	/* page is compressed with zstd */
 
 /* descriptor of each page for vmcore */
 typedef struct page_desc {
-- 
2.29.2




More information about the kexec mailing list