Take a very small step toward the Century of the Anchovy by increasing the

time dirhash entries stay in memory before being considered for eviction to
1 minute.
This commit is contained in:
Ivan Voras 2013-08-28 10:06:20 +00:00
parent 845e3c1de2
commit 60dd37465a

View File

@ -85,7 +85,7 @@ SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_docheck, CTLFLAG_RW, &ufs_dirhashcheck,
static int ufs_dirhashlowmemcount = 0;
SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_lowmemcount, CTLFLAG_RD,
&ufs_dirhashlowmemcount, 0, "number of times low memory hook called");
static int ufs_dirhashreclaimage = 5;
static int ufs_dirhashreclaimage = 60;
SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_reclaimage, CTLFLAG_RW,
&ufs_dirhashreclaimage, 0,
"max time in seconds of hash inactivity before deletion in low VM events");