mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue