[Sheepdog] [PATCH] collie: enlarge logger buffer size

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Apr 14 07:04:01 CEST 2010


16 KB log buffer is too small, so let's enlarge it to 1 MB.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 include/logger.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/logger.h b/include/logger.h
index 6b4a399..66b114b 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -36,7 +36,7 @@ union semun {
 	struct seminfo *__buf;
 };
 
-#define LOG_SPACE_SIZE 16384
+#define LOG_SPACE_SIZE 1048576
 #define MAX_MSG_SIZE 256
 
 struct logmsg {
-- 
1.5.6.5




More information about the sheepdog mailing list