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:
phk 2002-12-29 11:18:25 +00:00
parent d6fa292284
commit 2eae537376

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