From owner-freebsd-hackers Fri Jun 11 19:16:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sol (cs1-gw.cs.binghamton.edu [128.226.171.72]) by hub.freebsd.org (Postfix) with SMTP id 1644D14BEB for ; Fri, 11 Jun 1999 19:16:39 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from localhost (zzhang@localhost) by sol (SMI-8.6/8.6.9) with SMTP id WAA01426 for ; Fri, 11 Jun 1999 22:05:06 -0400 Date: Fri, 11 Jun 1999 22:05:06 -0400 (EDT) From: Zhihui Zhang To: freebsd-hackers@freebsd.org Subject: The clean and dirty buffer list of a vnode Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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