[PATCH 1/8] Add dump header for snappy

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Mon Jul 2 23:07:32 EDT 2012


Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com>
---

 diskdump_mod.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/diskdump_mod.h b/diskdump_mod.h
index e672485..af060b6 100644
--- a/diskdump_mod.h
+++ b/diskdump_mod.h
@@ -80,6 +80,8 @@ struct kdump_sub_header {
 /* page flags */
 #define DUMP_DH_COMPRESSED_ZLIB	0x1	/* page is compressed with zlib */
 #define DUMP_DH_COMPRESSED_LZO	0x2	/* paged is compressed with lzo */
+#define DUMP_DH_COMPRESSED_SNAPPY	0x4
+					/* paged is compressed with snappy */
 
 /* descriptor of each page for vmcore */
 typedef struct page_desc {




More information about the kexec mailing list