summaryrefslogtreecommitdiff
path: root/diskdump_mod.h
diff options
context:
space:
mode:
authorken1_ohmichi <ken1_ohmichi>2009-04-20 06:33:24 +0000
committerken1_ohmichi <ken1_ohmichi>2009-04-20 06:33:24 +0000
commitd8c76a06bbe8c3f8b3239d47b7454cd975cb2af0 (patch)
treea85bdec5166bd23c522aca0e2bf58793f4d5f2d3 /diskdump_mod.h
parent6b2db2a0b0c0f509125dd34cb623d8a787f18dfd (diff)
[v1.3.3-09] Add a new option "--split" for dumping multiple dumpfiles.
A new option "--split": Split the dump data to multiple dumpfiles in parallel. If specifying dumpfiles on different storage devices, a device can share I/O load with other devices and it reduces time for saving the dump data. The file size of each dumpfile is smaller than the system memory size which is divided by the number of dumpfiles. This feature supports only the kdump-compressed format. Example: # makedumpfile --split -d 31 -x vmlinux /proc/vmcore dumpfile1 dumpfile2 Signed-off-by: Takao Indoh <tindoh@redhat.com> Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Diffstat (limited to 'diskdump_mod.h')
-rw-r--r--diskdump_mod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diskdump_mod.h b/diskdump_mod.h
index dd0d3c8..c11ff23 100644
--- a/diskdump_mod.h
+++ b/diskdump_mod.h
@@ -67,6 +67,9 @@ struct disk_dump_header {
struct kdump_sub_header {
unsigned long phys_base;
int dump_level; /* header_version 1 and later */
+ int split; /* header_version 2 and later */
+ unsigned long start_pfn; /* header_version 2 and later */
+ unsigned long end_pfn; /* header_version 2 and later */
};
/* page flags */