Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdump for openSUSE:Factory checked in at 2022-06-08 14:24:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdump (Old) and /work/SRC/openSUSE:Factory/.kdump.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump" Wed Jun 8 14:24:14 2022 rev:125 rq:981122 version:1.0.2+git13.ge715180 Changes: -------- --- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2022-04-14 17:24:34.883201390 +0200 +++ /work/SRC/openSUSE:Factory/.kdump.new.1548/kdump.changes 2022-06-08 14:24:27.452467905 +0200 @@ -1,0 +2,6 @@ +Wed May 4 15:13:51 UTC 2022 - Jiri Bohac <[email protected]> + +- kdumptool calibrate: add more margin to reservation calculations + (bsc#1196728) + +------------------------------------------------------------------- Old: ---- kdump-1.0.2+git12.g1a68ca5.tar.xz New: ---- kdump-1.0.2+git13.ge715180.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.XmJLlR/_old 2022-06-08 14:24:28.188468818 +0200 +++ /var/tmp/diff_new_pack.XmJLlR/_new 2022-06-08 14:24:28.192468822 +0200 @@ -49,7 +49,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 1.0.2+git12.g1a68ca5 +Version: 1.0.2+git13.ge715180 Release: 0 Summary: Script for kdump License: GPL-2.0-or-later ++++++ kdump-1.0.2+git12.g1a68ca5.tar.xz -> kdump-1.0.2+git13.ge715180.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-1.0.2+git12.g1a68ca5/kdumptool/calibrate.cc new/kdump-1.0.2+git13.ge715180/kdumptool/calibrate.cc --- old/kdump-1.0.2+git12.g1a68ca5/kdumptool/calibrate.cc 2022-04-12 16:09:29.000000000 +0200 +++ new/kdump-1.0.2+git13.ge715180/kdumptool/calibrate.cc 2022-04-20 17:11:36.000000000 +0200 @@ -143,7 +143,11 @@ #define DIRTY_RATIO 20 // Reserve this much percent above the calculated value -#define ADD_RESERVE 10 +#define ADD_RESERVE_PCT 20 + +// Reserve this much additional KiB above the calculated value +#define ADD_RESERVE_KB MB(8) + // Maximum size of the page bitmap // 32 MiB is 32*1024*1024*8 = 268435456 bits @@ -1252,7 +1256,7 @@ required = bootsize; // Reserve a fixed percentage on top of the calculation - required = (required * (100 + ADD_RESERVE)) / 100; + required = (required * (100 + ADD_RESERVE_PCT)) / 100 + ADD_RESERVE_KB; } catch(KError &e) { Debug::debug()->info(e.what());
