diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-03-27 14:15:38 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-03 15:47:24 (GMT) |
commit | a2f999a37ebb77e857d3a178bd6f52d1163cd980 (patch) | |
tree | 2319536cbbc8edba7af77de9f1358edea3a289cc /fs/nfsd/cache.h | |
parent | 6c6910cd4d0cdb905fbba8c751afd143696930f2 (diff) | |
download | linux-fsl-qoriq-a2f999a37ebb77e857d3a178bd6f52d1163cd980.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h index 87fd141..d5c5b3e 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); |