Hi,
makedumpfile may produce an incomplete dump if interrupted early or in
case if an unrecoverable I/O error happens during the execution of
makedumpfile. As of now crash begins analysis of such incomplete dump
and fails in some misleading way.
The series helps crash to avoid going too far with incomplete dumps
while provides means to localize how much data is lost in the core.
Thanks,
Roman
Roman Bolshakov (2):
diskdump: Fail readmem() early if dump is incomplete
diskdump: Print total number of dumpable pages
defs.h | 1 +
diskdump.c | 20 ++++++++++++++++----
memory.c | 7 +++++++
3 files changed, 24 insertions(+), 4 deletions(-)
--
2.31.1