cvs commit: src/sys/kern vfs_subr.c src/sys/ufs/ffs ffs_rawread.c src/sys/vm vm_contig.c vm_object.c vnode_pager.c src/sys/security/mac mac_process.c

Tor Egge tegge at FreeBSD.org
Thu Mar 2 14:13:29 PST 2006


tegge       2006-03-02 22:13:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
    sys/ufs/ffs          ffs_rawread.c 
    sys/vm               vm_contig.c vm_object.c vnode_pager.c 
    sys/security/mac     mac_process.c 
  Log:
  Eliminate a deadlock when creating snapshots.  Blocking vn_start_write() must
  be called without any vnode locks held.  Remove calls to vn_start_write() and
  vn_finished_write() in vnode_pager_putpages() and add these calls before the
  vnode lock is obtained to most of the callers that don't already have them.
  
  Revision  Changes    Path
  1.663     +2 -0      src/sys/kern/vfs_subr.c
  1.112     +3 -0      src/sys/security/mac/mac_process.c
  1.27      +11 -1     src/sys/ufs/ffs/ffs_rawread.c
  1.50      +3 -0      src/sys/vm/vm_contig.c
  1.359     +3 -0      src/sys/vm/vm_object.c
  1.227     +0 -2      src/sys/vm/vnode_pager.c


More information about the cvs-src mailing list