cvs commit: src/sys/kern vfs_mount.c vfs_subr.c vfs_vnops.c
src/sys/sys mount.h vnode.h src/sys/ufs/ffs ffs_extern.h
ffs_softdep.c ffs_vfsops.c src/sys/ufs/ufs ufs_inode.c ufs_quota.c
ufsmount.h
Tor Egge
tegge at FreeBSD.org
Wed Mar 8 15:43:40 PST 2006
tegge 2006-03-08 23:43:39 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_mount.c vfs_vnops.c vfs_subr.c
sys/sys vnode.h mount.h
sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
sys/ufs/ufs ufs_inode.c ufs_quota.c ufsmount.h
Log:
Use vn_start_secondary_write() and vn_finished_secondary_write() as a
replacement for vn_write_suspend_wait() to better account for secondary write
processing.
Close race where secondary writes could be started after ffs_sync() returned
but before the file system was marked as suspended.
Detect if secondary writes or softdep processing occurred during vnode sync
loop in ffs_sync() and retry the loop if needed.
Revision Changes Path
1.218 +13 -0 src/sys/kern/vfs_mount.c
1.664 +20 -4 src/sys/kern/vfs_subr.c
1.236 +77 -2 src/sys/kern/vfs_vnops.c
1.207 +4 -0 src/sys/sys/mount.h
1.315 +3 -0 src/sys/sys/vnode.h
1.71 +4 -0 src/sys/ufs/ffs/ffs_extern.h
1.191 +158 -1 src/sys/ufs/ffs/ffs_softdep.c
1.301 +48 -7 src/sys/ufs/ffs/ffs_vfsops.c
1.65 +11 -3 src/sys/ufs/ufs/ufs_inode.c
1.81 +5 -1 src/sys/ufs/ufs/ufs_quota.c
1.36 +1 -0 src/sys/ufs/ufs/ufsmount.h
More information about the cvs-src
mailing list