summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorJeff Layton2013-03-27 15:15:38 +0100
committerJ. Bruce Fields2013-04-03 17:47:24 +0200
commita2f999a37ebb77e857d3a178bd6f52d1163cd980 (patch)
tree2319536cbbc8edba7af77de9f1358edea3a289cc /fs/nfsd/cache.h
parentnfsd: track memory utilization by the DRC (diff)
downloadkernel-qcow2-linux-a2f999a37ebb77e857d3a178bd6f52d1163cd980.tar.gz
kernel-qcow2-linux-a2f999a37ebb77e857d3a178bd6f52d1163cd980.tar.xz
kernel-qcow2-linux-a2f999a37ebb77e857d3a178bd6f52d1163cd980.zip
nfsd: add new reply_cache_stats file in nfsdfs
For presenting statistics relating to duplicate reply cache. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/cache.h')
-rw-r--r--fs/nfsd/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h
index 87fd1410b737..d5c5b3e00266 100644
--- a/fs/nfsd/cache.h
+++ b/fs/nfsd/cache.h
@@ -82,6 +82,7 @@ int nfsd_reply_cache_init(void);
void nfsd_reply_cache_shutdown(void);
int nfsd_cache_lookup(struct svc_rqst *);
void nfsd_cache_update(struct svc_rqst *, int, __be32 *);
+int nfsd_reply_cache_stats_open(struct inode *, struct file *);
#ifdef CONFIG_NFSD_V4
void nfsd4_set_statp(struct svc_rqst *rqstp, __be32 *statp);