Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/sys/kern/vfs_cache.c 215281 2010-11-14 06:09:50Z brucec $");
---
> __FBSDID("$FreeBSD: head/sys/kern/vfs_cache.c 215283 2010-11-14 08:06:29Z brucec $");
192c192,193
< static SYSCTL_NODE(_vfs, OID_AUTO, cache, CTLFLAG_RW, 0, "Name cache statistics");
---
> static SYSCTL_NODE(_vfs, OID_AUTO, cache, CTLFLAG_RW, 0,
> "Name cache statistics");
197,207c198,219
< static u_long numcalls; STATNODE(CTLFLAG_RD, numcalls, &numcalls, "Number of cache lookups");
< static u_long dothits; STATNODE(CTLFLAG_RD, dothits, &dothits, "Number of '.' hits");
< static u_long dotdothits; STATNODE(CTLFLAG_RD, dotdothits, &dotdothits, "Number of '..' hits");
< static u_long numchecks; STATNODE(CTLFLAG_RD, numchecks, &numchecks, "Number of checks in lookup");
< static u_long nummiss; STATNODE(CTLFLAG_RD, nummiss, &nummiss, "Number of cache misses");
< static u_long nummisszap; STATNODE(CTLFLAG_RD, nummisszap, &nummisszap, "Number of cache misses we do not want to cache");
< static u_long numposzaps; STATNODE(CTLFLAG_RD, numposzaps, &numposzaps, "Number of cache hits (positive) we do not want to cache");
< static u_long numposhits; STATNODE(CTLFLAG_RD, numposhits, &numposhits, "Number of cache hits (positive)");
< static u_long numnegzaps; STATNODE(CTLFLAG_RD, numnegzaps, &numnegzaps, "Number of cache hits (negative) we do not want to cache");
< static u_long numneghits; STATNODE(CTLFLAG_RD, numneghits, &numneghits, "Number of cache hits (negative)");
< static u_long numupgrades; STATNODE(CTLFLAG_RD, numupgrades, &numupgrades, "Number of updates of the cache after lookup (write lock + retry)");
---
> static u_long numcalls; STATNODE(CTLFLAG_RD, numcalls, &numcalls,
> "Number of cache lookups");
> static u_long dothits; STATNODE(CTLFLAG_RD, dothits, &dothits,
> "Number of '.' hits");
> static u_long dotdothits; STATNODE(CTLFLAG_RD, dotdothits, &dotdothits,
> "Number of '..' hits");
> static u_long numchecks; STATNODE(CTLFLAG_RD, numchecks, &numchecks,
> "Number of checks in lookup");
> static u_long nummiss; STATNODE(CTLFLAG_RD, nummiss, &nummiss,
> "Number of cache misses");
> static u_long nummisszap; STATNODE(CTLFLAG_RD, nummisszap, &nummisszap,
> "Number of cache misses we do not want to cache");
> static u_long numposzaps; STATNODE(CTLFLAG_RD, numposzaps, &numposzaps,
> "Number of cache hits (positive) we do not want to cache");
> static u_long numposhits; STATNODE(CTLFLAG_RD, numposhits, &numposhits,
> "Number of cache hits (positive)");
> static u_long numnegzaps; STATNODE(CTLFLAG_RD, numnegzaps, &numnegzaps,
> "Number of cache hits (negative) we do not want to cache");
> static u_long numneghits; STATNODE(CTLFLAG_RD, numneghits, &numneghits,
> "Number of cache hits (negative)");
> static u_long numupgrades; STATNODE(CTLFLAG_RD, numupgrades, &numupgrades,
> "Number of updates of the cache after lookup (write lock + retry)");
210c222,223
< &nchstats, sizeof(nchstats), "LU", "VFS cache effectiveness statistics");
---
> &nchstats, sizeof(nchstats), "LU",
> "VFS cache effectiveness statistics");
984c997,998
< STATNODE(numfullpathfail2, "Number of fullpath search errors (VOP_VPTOCNP failures)");
---
> STATNODE(numfullpathfail2,
> "Number of fullpath search errors (VOP_VPTOCNP failures)");