Subject: Re: Use vn_rdwr in vnd (Re: kern/34882)
To: None <jmmv@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 11/09/2006 22:20:02
The following reply was made to PR kern/34882; it has been noted by GNATS.

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: jmmv84@gmail.com
Cc: tech-kern@netbsd.org, gnats-bugs@NetBSD.org
Subject: Re: Use vn_rdwr in vnd (Re: kern/34882)
Date: Fri, 10 Nov 2006 07:16:54 +0900 (JST)

 > +	/* Flush the vnode if requested. */
 > +	if (obp->b_flags & B_VFLUSH)
 > +		vflushbuf(vp, 0);
 > +
 > +	/* We need to increase the number of outputs on the vnode if
 > +	 * there was any write to it (either due to a real write or due
 > +	 * to a flush). */
 > +	if (!doread || obp->b_flags & B_VFLUSH)
 > +		vp->v_numoutput++;
 
 can you explain these B_VFLUSH handling?
 
 YAMAMOTO Takashi