diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-08 20:24:12 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-30 02:09:22 +0200 |
commit | 904940e94a887701db24401e3ed6928a1d4e329f (patch) | |
tree | 72f74dc052c0fc5ae0a1f27ea05c2b90bf1ffcb4 /fs/nfsd/filecache.h | |
parent | NFSD: Report count of freed filecache items (diff) | |
download | linux-904940e94a887701db24401e3ed6928a1d4e329f.tar.xz linux-904940e94a887701db24401e3ed6928a1d4e329f.zip |
NFSD: Report average age of filecache items
This is a measure of how long items stay in the filecache, to help
assess how efficient the cache is.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/filecache.h')
-rw-r--r-- | fs/nfsd/filecache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/filecache.h b/fs/nfsd/filecache.h index c9e3c6eb4776..c6ad5fe47f12 100644 --- a/fs/nfsd/filecache.h +++ b/fs/nfsd/filecache.h @@ -44,6 +44,7 @@ struct nfsd_file { refcount_t nf_ref; unsigned char nf_may; struct nfsd_file_mark *nf_mark; + ktime_t nf_birthtime; }; int nfsd_file_cache_init(void); |