From 22e942dd201734761f37eaf9b10970e7da9d9a14 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Tue, 25 Apr 2017 15:04:34 +0530 Subject: nl-cache: Fix the issue in refd_inode counting and prune the cache Change-Id: I5b9beb8502667bc3876385900bc01b6491348716 BUG: 1442569 Signed-off-by: Poornima G Reviewed-on: https://review.gluster.org/17110 Reviewed-by: Pranith Kumar Karampuri Tested-by: Pranith Kumar Karampuri Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Niels de Vos --- xlators/performance/nl-cache/src/nl-cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/performance/nl-cache/src/nl-cache.h') diff --git a/xlators/performance/nl-cache/src/nl-cache.h b/xlators/performance/nl-cache/src/nl-cache.h index e94641c40d0..10ec022d05c 100644 --- a/xlators/performance/nl-cache/src/nl-cache.h +++ b/xlators/performance/nl-cache/src/nl-cache.h @@ -170,4 +170,7 @@ nlc_clear_all_cache (xlator_t *this); void nlc_disable_cache (xlator_t *this); +void +nlc_lru_prune (xlator_t *this, inode_t *inode); + #endif /* __NL_CACHE_H__ */ -- cgit