Skip to contentSkip to conversation

dlm: make lowcomms selectable by user

PATCH New Patrick Caulfield 1 participant 3 messages Jan 26, 2007

lore
Share & tools
lore
#0 lore raw

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>
#1 lore raw

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 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/eba04089/attachment.txt>