Block driver detection now doesn't work for raw targets, this will fix
it. And watchdog driver detection is broken after we enabled the squash
module, this also fixed that problem.
The driver detection code are coupled together so fix them together in
this series.
Patch 7/7 will include watchdog-modules by default, but dracut
haven't make a release containing this module yet, so the last
patch may be merged later.
--
Update from V1:
- Fix a few bugs in the patch
- Set watchdog's pretimeout to 0 in second kernel
Kairui Song (7):
kdumpctl: split the driver detection from fs dection function
Remove a redundant nfs check
Add a helper for detecting watchdog drivers
Fix the watchdog drivers detection code
kdump-lib.sh: Use a more generic helper to detect omitted dracut
module
Set watchdog's pretimeout to zero in kdump kernel
Always include watchdog-modules
dracut-module-setup.sh | 1 +
kdump-lib.sh | 68 +++++++++++-----
kdumpctl | 178 ++++++++++++++---------------------------
3 files changed, 107 insertions(+), 140 deletions(-)
--
2.28.0