cvs commit: src/sys/kern vfs_subr.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Sep 4 09:58:26 UTC 2006


pjd         2006-09-04 09:58:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             vfs_subr.c 
  Log:
  MFC:    sys/kern/vfs_subr.c     1.680,1.681
  
  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.
  
  Reviewed by:    tegge
  
  Revision    Changes    Path
  1.635.2.20  +10 -0     src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list