v1 -> v2:
For Patch 1, rename "does_dracut_args_contain_mount" to
No functional change.
v2 -> v3:
For Patch 1, remove the double quota requirement for "--mount".
For Patch 2, Improved description according to Dave's suggestion.
v3 -> v4:
For Patch 1,
Improved "is_mount_in_dracut_args" using:
grep -q "^dracut_args .*\-\-mount" /etc/kdump.conf
echo "Multiple mount targets specified in one \"dracut_args\"."
There were some complaints about nfs kdump that users must mount
nfs beforehand, which may cause some overhead to nfs server.
For example, there're thounsands of diskless clients deployed with
nfs dumping, each time the client is boot up, it will trigger
kdump rebuilding so will mount nfs, thus resulting in thousands
of nfs request concurrently imposed on the same nfs server.
In order to solve this, we introduce a new way of specifying mount
information via the already-existent "dracut_args" directive, this
is not only for nfs mount, also including other supported filesystems
like ext[2-4]/xfs, etc.
This feature relys on the latest fedora dracut version:
The last patch is a fix found when designing this feature for nfs, so
attached in passing.
Xunlei Pang (4):
Support special mount information via "dracut_args"
kexec-kdump-howto: Add doc about the special mount information via
spec: Update to add dependency on dracut version >= 044-117
mkdumprd: Do not add "nfs" dracut module explicitly
dracut-kdump.sh | 4 ++++
dracut-module-setup.sh | 5 +++++
kdump-lib.sh | 27 +++++++++++++++++++++++++--
kdumpctl | 13 ++++++++++++-
kexec-kdump-howto.txt | 18 ++++++++++++++++++
kexec-tools.spec | 5 +++--
mkdumprd | 8 --------
7 files changed, 67 insertions(+), 13 deletions(-)