diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-02-19 16:05:45 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-19 18:55:43 -0800 |
commit | 12d865dd59e70a5dd0701190f116efe8811c088c (patch) | |
tree | aa3a426d9bca820f6b2e986ebfb648a1103d60aa /xlators | |
parent | 5077242f1d17c9cc8f5233333dbdfe2f73e71e44 (diff) |
dht: Enable mem-accounting for nufa
Change-Id: I0cf8a59c81e30603aadc45393bbd49d80ae1621f
BUG: 912657
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4542
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/nufa.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/nufa.c b/xlators/cluster/dht/src/nufa.c index 076ba3bbabf..52086e268bd 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) { |