mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
Mark the debug.vnlru_nowhere sysctl as CTLFLAG_STATS
The kernel doesn't read it. It's only writable so it can be cleared. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
bacb00ab40
commit
a134a12b14
@ -371,7 +371,7 @@ SYSCTL_PROC(_vfs, OID_AUTO, wantfreevnodes,
|
||||
SYSCTL_ULONG(_kern, OID_AUTO, minvnodes, CTLFLAG_RW,
|
||||
&wantfreevnodes, 0, "Old name for vfs.wantfreevnodes (legacy)");
|
||||
static int vnlru_nowhere;
|
||||
SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW,
|
||||
SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW | CTLFLAG_STATS,
|
||||
&vnlru_nowhere, 0, "Number of times the vnlru process ran without success");
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user