summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-08-10 15:49:17 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-08-14 15:05:18 +0000
commitc41592c79c612237cd10acbfa4a59b85dcce402b (patch)
tree641e83a5ccc897a6c5c0676608043a6e22cb67fa /xlators
parentd46632247cbbeefb4798512e4426943f9768ecbf (diff)
glusterd: remove the unused databuf in rebalance structure
While it is a one line fix, it allows a significant unwanted memory being allocated for defrag structure. Updates: bz#1193929 Change-Id: Idda70d1d3dc0e7be56c35e872aa6edfaf752290d Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index 39232d2d5eb..c2a69c79419 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -287,7 +287,6 @@ struct glusterd_defrag_info_ {
struct rpc_clnt *rpc;
uint32_t connected;
char mount[1024];
- char databuf[131072];
struct gf_defrag_brickinfo_ *bricks; /* volinfo->brick_count */
defrag_cbk_fn_t cbk_fn;