makedumpfile: implementation of dealing with kdump-compressed dumpfile with ENOSPC error
Subsystems (2)
PATCH 3/3 makedumpfile: implementation of dealing with kdump-compressed dumpfile with ENOSPC error
kdump-compressed:
Dump the bitmap before any page header and page data. This format use "status" of "disk_dump_header" to indicate that it has been modified.
Signed-of-by Wang Xiao <[email protected]>
--- diskdump_mod.h | 2 + makedumpfile.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 82 insertions(+), 5 deletions(-)
diskdump_mod.h +2 -0
@@ -96,6 +96,8 @@ struct kdump_sub_header {#define DUMP_DH_COMPRESSED_SNAPPY 0x4/* paged is compressed with snappy */ +#define DUMP_DH_COMPRESSED_INCOMPLETE 0x8/* this is an incomplete dumpfile*/ +/* descriptor of each page for vmcore */ typedef struct page_desc { off_t offset; /* the offset of the page data*/
makedumpfile.c +80 -5
115 lines not on this page · raw message
Signature · 7 lines
1.7.1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec