From owner-freebsd-fs Mon Aug 26 19:31:14 1996 Return-Path: owner-fs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA16798 for fs-outgoing; Mon, 26 Aug 1996 19:31:14 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id TAA16702; Mon, 26 Aug 1996 19:31:06 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id TAA23773; Mon, 26 Aug 1996 19:20:17 -0700 From: Terry Lambert Message-Id: <199608270220.TAA23773@phaeton.artisoft.com> Subject: Re: vclean (was The VIVA file system) To: michaelh@cet.co.jp Date: Mon, 26 Aug 1996 19:20:17 -0700 (MST) Cc: terry@lambert.org, eric@ms.uky.edu, freebsd-fs@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: from "Michael Hancock" at Aug 27, 96 09:41:37 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > The address space compression is interesting for vnode-based buffering; > > FreeBSD currently uses this method, but... well, I've railed often > > enough against vclean that I think everyone knows how I feel. > > Some subsystems now depend on the ability to disassociate buffers from > vnodes. For example, kill the session leader and the session terminal is > revoked from all children and the deadfs is associated with the vnode. > The only call that doesn't return an error is close() and the children > eventually exit. > > I think what needs to be looked at is having more synchronized buffer > cache/vnode recycling policies. Inode data, disklabel data, and any other FS object which is not file contents is not cached under the current policy. Further, dissociating buffers from vnodes does not require that they be returned to a global pool for clean-behind. I think the non-opacity of vnodes is a mistake. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.