summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-29 11:18:25 +0000
committerphk <phk@FreeBSD.org>2002-12-29 11:18:25 +0000
commit2eae537376d77fb65bf39a558e5f769a5dac8ca7 (patch)
tree4971cd914f658615b922892fcfd9c9780d2b5b34 /sys/kern/vfs_subr.c
parentd6fa292284c387e43498b6376282ebd7dc0c8573 (diff)
downloadFreeBSD-src-2eae537376d77fb65bf39a558e5f769a5dac8ca7.zip
FreeBSD-src-2eae537376d77fb65bf39a558e5f769a5dac8ca7.tar.gz
Use a timeout of one second while we wait for the vnode washer,
this prevents a potential race and makes the system a little bit less jerky under extreme loads.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 5584666..311ea54 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -753,7 +753,7 @@ vnlru_proc(void)
mtx_unlock(&vnode_free_list_mtx);
vnlruproc_sig = 0;
wakeup(&vnlruproc_sig);
- tsleep(vnlruproc, PVFS, "vlruwt", 0);
+ tsleep(vnlruproc, PVFS, "vlruwt", hz);
continue;
}
mtx_unlock(&vnode_free_list_mtx);
OpenPOWER on IntegriCloud