diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2000-11-20 00:41:11 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2000-11-20 00:41:11 +0000 |
| commit | aa5429970c57a14d577f6a4b4c9ee6d57a680a3e (patch) | |
| tree | 4e89ee47262c63d58216559eb341f6c4027e16bd /sys/kern/vfs_cache.c | |
| parent | cee313c4311051f26739d2476a1b9c24aa1abbcd (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_cache.c')
| -rw-r--r-- | sys/kern/vfs_cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 976f85e2badf..114426e28cf9 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -123,6 +123,10 @@ static u_long numposhits; STATNODE(CTLFLAG_RD, numposhits, &numposhits); static u_long numnegzaps; STATNODE(CTLFLAG_RD, numnegzaps, &numnegzaps); static u_long numneghits; STATNODE(CTLFLAG_RD, numneghits, &numneghits); +SYSCTL_OPAQUE(_vfs_cache, OID_AUTO, nchstats, CTLFLAG_RD, &nchstats, + sizeof(nchstats), "LU", "VFS cache effectiveness statistics"); + + static void cache_zap __P((struct namecache *ncp)); |
