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.
This commit is contained in:
Poul-Henning Kamp 2002-12-29 11:18:25 +00:00
parent 34dda7fac8
commit 371400cf2e

View File

@ -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);