From a48fa5a64bdc1eb25977629d733314e133c7459d Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Tue, 7 Jun 2011 05:50:56 +0000 Subject: glusterd: replace brick status grows with dir tree. replace-brick status message's size can grow long with deep directory trees. Signed-off-by: Krishnan Parthasarathi Signed-off-by: Anand Avati BUG: 2489 (GlusterFS crashing with replace-brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2489 --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index b88370b2979..db4d649c7b8 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -3464,7 +3464,7 @@ rb_do_operation_status (glusterd_volinfo_t *volinfo, glusterd_brickinfo_t *src_brickinfo, glusterd_brickinfo_t *dst_brickinfo) { - char status[2048] = {0,}; + char status[8192] = {0,}; char *status_reply = NULL; dict_t *ctx = NULL; int ret = 0; -- cgit