]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r244795:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 11 Jan 2013 05:35:04 +0000 (05:35 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 11 Jan 2013 05:35:04 +0000 (05:35 +0000)
commit220e6bf1eb702671cfd31d1138cc07280675ab3d
treea9a20bd1e8c673aa9c953c841c944502b5cd64eb
parent8621ce114209e52e3937c3c9b3e2dab4b53406bf
MFC r244795:
Make it possible to atomically resume writes on the mount and account
the write start, by adding a variation of the vfs_write_resume(9) which
accepts flags.

Use the new function to prevent a deadlock between parallel suspension
and snapshotting a UFS mount.

git-svn-id: svn://svn.freebsd.org/base/stable/9@245282 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/vfs_vnops.c
sys/sys/vnode.h
sys/ufs/ffs/ffs_snapshot.c