diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-06-10 04:42:27 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-10 03:53:51 -0700 |
commit | fb42a67e1eea17b3dc116d26ea92b93f740b28c3 (patch) | |
tree | a8ef2649c305ba3ebe498253b57592ec2c8cee89 | |
parent | ae66b4366473b9e837b70d0fedecffdd029c0e7a (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.c | 2 |
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 01fe1bb9e..c5fa46021 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -2835,7 +2835,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; |