From 07954ba55352bb07fb9d80f0d886ef4448038847 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Jan 20 2023 14:35:23 +0000 Subject: dlm_controld: increase uevent recv buffer This patch increases the uevent recv buffer from 256 bytes to 4096 bytes. To ensure everything fits into one recv() call. --- diff --git a/dlm_controld/main.c b/dlm_controld/main.c index 7cf6348..2c534a1 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) {