Skip to contentSkip to conversation

dlm: increase max number of links for

PATCH New Heming Zhao 1 participant 2 messages Dec 20, 2024 Distributed lock manager (DLM)

lore
Share & tools
lore
#0 lore raw

cover dlm: increase max number of links for

This patch to make dlm module to support max 8 links for corosync3/knet.

Heming Zhao (1):
dlm: increase max number of links for corosync3/knet

 fs/dlm/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/1 dlm: increase max number of links for corosync3/knet

This patch increases the maximum number of links that can be used with corosync3/knet. The majority of the changes are in user space dlm_tools/dlm_controld.

---
 fs/dlm/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/dlm/config.h +1 -1
index e48c4f9686d3..13a3d0b26194 100644
@@ -23,7 +23,7 @@ struct dlm_config_node {
 
 extern const struct rhashtable_params dlm_rhash_rsb_params;
 
-#define DLM_MAX_ADDR_COUNT 3
+#define DLM_MAX_ADDR_COUNT 8
 
 #define DLM_PROTO_TCP	0
 #define DLM_PROTO_SCTP	1
Signature · 1 line
2.43.0