cvs commit: src/sys/kern vfs_subr.c src/sys/security/mac
mac_process.c src/sys/ufs/ffs ffs_rawread.c src/sys/vm vm_contig.c
vm_object.c vnode_pager.c
Tor Egge
tegge at FreeBSD.org
Wed Mar 8 16:18:46 PST 2006
tegge 2006-03-09 00:18:45 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/kern vfs_subr.c
sys/security/mac mac_process.c
sys/ufs/ffs ffs_rawread.c
sys/vm vm_contig.c vm_object.c vnode_pager.c
Log:
MFC: 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.
Approved by: re (mux)
Revision Changes Path
1.635.2.15 +2 -0 src/sys/kern/vfs_subr.c
1.108.2.2 +3 -0 src/sys/security/mac/mac_process.c
1.25.2.2 +11 -1 src/sys/ufs/ffs/ffs_rawread.c
1.43.2.3 +3 -0 src/sys/vm/vm_contig.c
1.349.2.3 +3 -0 src/sys/vm/vm_object.c
1.221.2.5 +0 -2 src/sys/vm/vnode_pager.c
More information about the cvs-src
mailing list