summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2011-06-06 04:22:47 +0000
committerAnand Avati <avati@gluster.com>2011-06-08 09:57:29 -0700
commit7959e867632baad702d1d5c8dc4fc4854d17e3e1 (patch)
tree2cdaf486ce7207d2235d70c316ad2e162e87043b
parent125fc0ca98332cd20917daab0a170342b7f5e156 (diff)
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 <kp@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2489 (GlusterFS crashing with replace-brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2489
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index d43454510..9ebe97187 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -3573,7 +3573,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;