cvs commit: src/sys/kern vfs_subr.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Aug 9 12:47:31 UTC 2006
pjd 2006-08-09 12:47:31 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
Add a bandaid to avoid a deadlock in a situation, when we are trying to suspend
a file system, but need to obtain a vnode. We may not be able to do it, because
all vnodes could be already in use and other processes cannot release them,
because they are waiting in "suspfs" state.
In such situation, we allow to allocate a vnode anyway.
This is a temporary fix - there is no backpressure to free vnodes allocated in
those circumstances.
MFC after: 1 week
Reviewed by: tegge
Revision Changes Path
1.680 +10 -0 src/sys/kern/vfs_subr.c
More information about the cvs-src
mailing list