cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCHv2 dlm-tool 1/3] dlm_controld: increase uevent recv buffer
@ 2023-01-16 19:50 Alexander Aring
  2023-01-16 19:50 ` [Cluster-devel] [PATCHv2 dlm-tool 2/3] dlm_controld: constify lsnames Alexander Aring
  2023-01-16 19:50 ` [Cluster-devel] [PATCHv2 dlm-tool 3/3] dlm_controld: better uevent filtering Alexander Aring
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Aring @ 2023-01-16 19:50 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This patch increases the uevent recv buffer from 256 bytes to 4096
bytes. To ensure everything fits into one recv() call.
---
 dlm_controld/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlm_controld/main.c b/dlm_controld/main.c
index 7cf6348e..2c534a1e 100644
--- a/dlm_controld/main.c
+++ b/dlm_controld/main.c
@@ -682,7 +682,7 @@ const char *dlm_mode_str(int mode)
 
 /* recv "online" (join) and "offline" (leave) messages from dlm via uevents */
 
-#define MAX_LINE_UEVENT 256
+#define MAX_LINE_UEVENT 4096
 
 static void process_uevent(int ci)
 {
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-16 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16 19:50 [Cluster-devel] [PATCHv2 dlm-tool 1/3] dlm_controld: increase uevent recv buffer Alexander Aring
2023-01-16 19:50 ` [Cluster-devel] [PATCHv2 dlm-tool 2/3] dlm_controld: constify lsnames Alexander Aring
2023-01-16 19:50 ` [Cluster-devel] [PATCHv2 dlm-tool 3/3] dlm_controld: better uevent filtering Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).