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:
parent
34dda7fac8
commit
371400cf2e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user