This series add an more accurate kdump crashkernel estimation helper.
More details are in PATCH 5/6.
1/6 - 2/6 are required change for the new feature.
3/6 introduce a new file, just to make the code structure more clear.
4/6 fixes a bug I found while composing this patch.
5/6 and 6/6 adds this new command and docs.
Kairui Song (6):
kdumpctl: only acquire the single instance lock when necessary
kdumpctl: allow passing in extra cmdline using env variable
kdump-estiamte.sh: introduce a seperate file
kdump-lib.sh: fix kdump_get_arch_recommend_size
kdump-estimate.sh: add reboot estimation support
Upate crashkernel-howto.txt
.editorconfig | 2 +-
crashkernel-howto.txt | 104 ++++-
dracut-kdump.sh | 15 +
kdump-estimate-cleanup.service | 8 +
kdump-estimate.service | 11 +
kdump-estimate.sh | 778 +++++++++++++++++++++++++++++++++
kdump-lib.sh | 74 +---
kdump.shutdown | 13 +
kdumpctl | 108 +----
kexec-tools.spec | 21 +-
10 files changed, 940 insertions(+), 194 deletions(-)
create mode 100644 kdump-estimate-cleanup.service
create mode 100644 kdump-estimate.service
create mode 100644 kdump-estimate.sh
create mode 100644 kdump.shutdown
--
2.31.1
Show replies by date