]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r231075:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Feb 2012 00:32:24 +0000 (00:32 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Feb 2012 00:32:24 +0000 (00:32 +0000)
commit0ae9d9ed701ad2ada2903fb15ff4f7477afccc0b
treea58e2962b79b391bae21eb736c34789920b0996d
parentc234b614acc405698d8b4178d99f5bbde83dfc01
MFC r231075:
Instead of removing MNTK_ASYNC from mnt_kern_flag, provide a local
thread flag to disable async i/o for current thread only. Use the
opportunity to move DOINGASYNC() macro into sys/vnode.h and
consistently use it through places which tested for MNTK_ASYNC.

MFC r231204:
Unbreak detection of the async mode for clustered writes after r231075.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@231948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clvnops.c
sys/geom/journal/g_journal.c
sys/gnu/fs/ext2fs/ext2_inode.c
sys/kern/vfs_cluster.c
sys/kern/vfs_subr.c
sys/kern/vfs_syscalls.c
sys/nfsclient/nfs_vnops.c
sys/sys/proc.h
sys/sys/vnode.h
sys/ufs/ufs/inode.h