On 08/26/16 at 09:27am, Xunlei Pang wrote:
On 2016/08/26 at 08:53, Dave Young wrote:
On 08/25/16 at 06:23pm, Xunlei Pang wrote:
v1 -> v2: For Patch 1, rename "does_dracut_args_contain_mount" to "is_mount_in_dracut_args". 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.
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: http://koji.fedoraproject.org/koji/taskinfo?taskID=15307615
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 "dracut_args" 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(-)
-- 1.8.3.1 _______________________________________________ kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/kexec@lists.fedoraproject.org
Looks good to me, for the series
Acked-by: Dave Young dyoung@redhat.com
Thanks, anyway I'd like to send out v4 with the minor optimization according to Pratyush's suggestion.
Ok, I may missed the comment, feel free to carry the ack when you repost.
I will merge it if there's no other comments. BTW, it has passed my test in Fedora rawhide.
Regards, Xunlei _______________________________________________ kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/kexec@lists.fedoraproject.org