It looks good to me.
Thanks.
Lianbo
在 2019年01月18日 04:31, Kazuhito Hagio 写道:
> If a crash occurs repeatedly after enabling kdump, the system goes
> into a crash loop and the dump target may get filled up by vmcores.
> This is likely especially with early kdump.
>
> This patchset introduces 'final_action' option to kdump.conf, in order
> for users to be able to power off the system even after capturing
> a vmcore successfully.
>
> In preparation for adding 'final_action' option, since it's confusing
> to have the 'final_action' and 'default' options at the same time,
> this patchset introduces 'failure_action' as an alias of the
'default'
> option to /etc/kdump.conf, and makes 'default' obsolete to be removed
> in the future.
> Also, the "default action" term is renamed to "failure action".
>
> Changes from v1:
> - Add a patch that introduces 'failure_action' option as an alias of
> 'default' option and make 'default' option obsolete.
> - Improve some descriptions of 'final_action' behavior.
> - Add a description that early kdump user can choose anything other
> than "reboot" as failure_action to avoid crash loop.
>
> Kazuhito Hagio (3):
> Add failure_action as alias of default and make default obsolete
> Add final_action option to kdump.conf
> earlykdump: Add a note of final_action option to avoid crash loop
>
> dracut-kdump-error-handler.service | 2 +-
> dracut-kdump-error-handler.sh | 2 +-
> early-kdump-howto.txt | 15 +++++++++-
> fadump-howto.txt | 15 +++++-----
> kdump-lib-initramfs.sh | 33 ++++++++++++++-------
> kdump-lib.sh | 6 ++--
> kdump.conf | 24 ++++++++++++----
> kdump.conf.5 | 24 +++++++++++++---
> kdumpctl | 46 +++++++++++++++++++++++++-----
> kexec-kdump-howto.txt | 12 ++++----
> 10 files changed, 133 insertions(+), 46 deletions(-)
>