dlm: make lowcomms selectable by user
PATCH 1/1 dlm: make lowcomms selectable by user
This patch makes the lowcomms protocol selectable by the user before the DLM is started rather than having only one available, decided at compile time.
The best way to do this is to have dlm-controld read ccs and write 0 (TCP) or 1 (SCTP) into the sysfs file that controls it.
We will need this when SCTP become a viable protocol for the DLM so that people can upgrade easily and to give them a sensibly-selectable option without recompiling the kernel.
The alternative way of doing this would be to have separate modules for tcp & sctp...I think this solution is better because it is more reliably controlled via dlm_controld & ccs and this means that all nodes in the cluster will be using the same transport. The memory overheads of having both loaded at once are minimal.
Dave/Steve: Can you check this is OK with your criterea (eg is it OK for sysfs, does Kconfig look right!) for committing it please ?
Signature · 5 lines
patrick -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 0001-Make-lowcomms-run-time-ish-switchable.txt URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070126/4581375c/attachment.txt>
PATCH 1/2 dlm: make lowcomms selectable by user
Patrick Caulfield wrote:
(resend as two patches to see if the mailing list is more amenable)
Quoted 21 lines
This patch makes the lowcomms protocol selectable by the user before the DLM is started rather than having only one available, decided at compile time.
The best way to do this is to have dlm-controld read ccs and write 0 (TCP) or 1 (SCTP) into the sysfs file that controls it.
We will need this when SCTP become a viable protocol for the DLM so that people can upgrade easily and to give them a sensibly-selectable option without recompiling the kernel.
The alternative way of doing this would be to have separate modules for tcp & sctp...I think this solution is better because it is more reliably controlled via
dlm_controld& ccs and this means that all nodes in the cluster will be using the same transport. The memory overheads of having both loaded at once are minimal.Dave/Steve: Can you check this is OK with your criterea (eg is it OK for sysfs, does
Kconfiglook right!) for committing it please ?Signed-off-by Patrick Caulfield <[email protected]>
Signature · 5 lines
patrick -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 0001-Make-lowcomms-run-time-ish-switchable.txt URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070126/eba04089/attachment.txt>
PATCH 2/2 dlm: make lowcomms selectable by user
In reply to Patrick CaulfieldSignature · 5 lines
patrick -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 0002-Make-lowcomms-switchable.txt URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070126/ca1430e9/attachment.txt>