From 6d19136de7af9135dd23662f18c3ee544a2888da Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 21 Feb 2012 12:45:24 +0530 Subject: performance/md-cache: Add mem_acct_init Change-Id: I1b91ee0bde160762548c39646ceb96c3c778e06c BUG: 795651 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2778 Reviewed-by: Vijay Bellur Tested-by: Gluster Build System --- xlators/performance/md-cache/src/md-cache.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xlators/performance') diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c index dd9a8d6d0..e6bb54d8e 100644 --- a/xlators/performance/md-cache/src/md-cache.c +++ b/xlators/performance/md-cache/src/md-cache.c @@ -1692,6 +1692,14 @@ out: return 0; } +int32_t +mem_acct_init (xlator_t *this) +{ + int ret = -1; + + ret = xlator_mem_acct_init (this, gf_mdc_mt_end + 1); + return ret; +} int init (xlator_t *this) -- cgit