cache: hide hash stats behind DEBUG_CACHE
They take a long time to dump and hinder sysctl -a when used with DIAGNOSTIC.
This commit is contained in:
parent
f3f3e3c44d
commit
afb08a6d07
@ -1029,7 +1029,7 @@ SYSCTL_PROC(_vfs_cache_param, OID_AUTO, negminpct,
|
||||
CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RW, NULL, 0, sysctl_negminpct,
|
||||
"I", "Negative entry \% of namecache capacity above which automatic eviction is allowed");
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
#ifdef DEBUG_CACHE
|
||||
/*
|
||||
* Grab an atomic snapshot of the name cache hash chain lengths
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user