From dd4a0d45a91104117c0ad5de85deaabe6df88677 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 14 Jun 2011 01:40:45 +0000 Subject: performance/io-cache: print cache information during state dump. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 --- xlators/performance/io-cache/src/ioc-inode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/performance/io-cache/src/ioc-inode.c') diff --git a/xlators/performance/io-cache/src/ioc-inode.c b/xlators/performance/io-cache/src/ioc-inode.c index e268cac2621..1367a124698 100644 --- a/xlators/performance/io-cache/src/ioc-inode.c +++ b/xlators/performance/io-cache/src/ioc-inode.c @@ -188,6 +188,7 @@ ioc_inode_update (ioc_table_t *table, inode_t *inode, uint32_t weight) goto out; } + ioc_inode->inode = inode; ioc_inode->table = table; INIT_LIST_HEAD (&ioc_inode->cache.page_lru); pthread_mutex_init (&ioc_inode->inode_lock, NULL); -- cgit