[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] 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  ?

Signed-Off-By: Patrick Caulfield <pcaulfie redhat conm>

-- 

patrick





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]