cvs commit: src/sys/kern vfs_subr.c

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 9 Aug 2006 12:47:31 +0000 (UTC)
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
Received on Wed Aug 09 2006 - 12:47:31 UTC