mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
With current implementation, printing progress while writing a compressed data chunk might be very inaccurate. Thus, for compressed dump segments skip progress_print() in write_addr_range() and call it after each compressed memory chunk is written to disk. For that change write_addr_range() to call progress_print() conditionally based on the new print_progress parameter. For non-compressed dump segments, call progress_print() from write_addr_range() just as before. Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
1.4 KiB
1.4 KiB