Remove sysctl debug.ncnegfactor, it is renamed to vfs.ncnegfactor.
MFC: do not
This commit is contained in:
parent
d0b2f7efb7
commit
3a40a00d56
@ -129,8 +129,6 @@ static u_long nchash; /* size of hash table */
|
|||||||
SYSCTL_ULONG(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, 0,
|
SYSCTL_ULONG(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, 0,
|
||||||
"Size of namecache hash table");
|
"Size of namecache hash table");
|
||||||
static u_long ncnegfactor = 16; /* ratio of negative entries */
|
static u_long ncnegfactor = 16; /* ratio of negative entries */
|
||||||
/* _debug sysctl left for backward compatibility */
|
|
||||||
SYSCTL_ULONG(_debug, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0, "");
|
|
||||||
SYSCTL_ULONG(_vfs, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0,
|
SYSCTL_ULONG(_vfs, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0,
|
||||||
"Ratio of negative namecache entries");
|
"Ratio of negative namecache entries");
|
||||||
static u_long numneg; /* number of negative entries allocated */
|
static u_long numneg; /* number of negative entries allocated */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user