Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 22:05:06 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   The clean and dirty buffer list of a vnode
Message-ID:  <Pine.GSO.3.96.990611215349.1397A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

From the source code of vtruncbuf() in file vfs_subr.c, I find out that
the code deals with the case when a buffer linked on the clean or dirty
list of a vnode can change its identity (b_xflags flag, b_vp field, or
B_DELWRI flag). For example, a buffer's B_VNCLEAN flag is cleared even if
it is found on the clean list. Or a buffer's B_DELWRI flag is cleared
even if it is found on the dirty list. This is new in FreeBSD 3.x.

Can anyone explain to me how can this happen?

Any help is appreciated.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990611215349.1397A-100000>