From 12d865dd59e70a5dd0701190f116efe8811c088c Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 19 Feb 2013 16:05:45 +0530 Subject: dht: Enable mem-accounting for nufa Change-Id: I0cf8a59c81e30603aadc45393bbd49d80ae1621f BUG: 912657 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/4542 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/cluster/dht/src/nufa.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xlators/cluster') diff --git a/xlators/cluster/dht/src/nufa.c b/xlators/cluster/dht/src/nufa.c index 076ba3bba..52086e268 100644 --- a/xlators/cluster/dht/src/nufa.c +++ b/xlators/cluster/dht/src/nufa.c @@ -516,6 +516,15 @@ same_first_part (char *str1, char term1, char *str2, char term2) } } +int32_t +mem_acct_init (xlator_t *this) +{ + int ret = -1; + + ret = xlator_mem_acct_init (this, gf_dht_mt_end + 1); + return ret; +} + int init (xlator_t *this) { -- cgit