Subject: Re: Use vn_rdwr in vnd (Re: kern/34882)
To: None <jmmv84@gmail.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 11/10/2006 07:16:54
> + /* 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