Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 15:07:19 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231204 - head/sys/kern
Message-ID:  <201202081507.q18F7JmQ048076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Feb  8 15:07:19 2012
New Revision: 231204
URL: http://svn.freebsd.org/changeset/base/231204

Log:
  Unbreak detection of the async mode for clustered writes after r231075.
  
  Submitted by:	bde
  MFC after:	12 days

Modified:
  head/sys/kern/vfs_cluster.c

Modified: head/sys/kern/vfs_cluster.c
==============================================================================
--- head/sys/kern/vfs_cluster.c	Wed Feb  8 14:21:20 2012	(r231203)
+++ head/sys/kern/vfs_cluster.c	Wed Feb  8 15:07:19 2012	(r231204)
@@ -604,7 +604,7 @@ cluster_write(struct vnode *vp, struct b
 	int async;
 
 	if (vp->v_type == VREG) {
-		async = vp->v_mount->mnt_kern_flag & MNTK_ASYNC;
+		async = DOINGASYNC(vp);
 		lblocksize = vp->v_mount->mnt_stat.f_iosize;
 	} else {
 		async = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202081507.q18F7JmQ048076>