summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-03-27 10:15:38 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-04-03 11:47:24 -0400
commita2f999a37ebb77e857d3a178bd6f52d1163cd980 (patch)
tree2319536cbbc8edba7af77de9f1358edea3a289cc /fs/nfsd/cache.h
parent6c6910cd4d0cdb905fbba8c751afd143696930f2 (diff)
downloadblackbird-op-linux-a2f999a37ebb77e857d3a178bd6f52d1163cd980.tar.gz
blackbird-op-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);
OpenPOWER on IntegriCloud