From owner-freebsd-current Wed Aug 28 10:04:39 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13788 for current-outgoing; Wed, 28 Aug 1996 10:04:39 -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 KAA13671; Wed, 28 Aug 1996 10:01:49 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id JAA26928; Wed, 28 Aug 1996 09:50:18 -0700 From: Terry Lambert Message-Id: <199608281650.JAA26928@phaeton.artisoft.com> Subject: Re: vclean (was The VIVA file system) To: michaelh@cet.co.jp (Michael Hancock) Date: Wed, 28 Aug 1996 09:50:18 -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 28, 96 08:21:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > This was the point I was missing. What is disassociating the inode and > > when is it happening? > > Yikes! I took a look below, but I didn't expect to see vgone() calls in > ufs_inactive(). > > if (vp->v_usecount == 0 && ip->i_mode == 0) > vgone(vp); > > I need to figure out what ip->i_mode == 0 means. The file type is a non-zero value in the high bits of the mode word; it means that the inode does not refer to real data any more. The vgone call is just part of the subsystem I think should be replaced wholesale; I'd like to see a per FS vrele() (back to locally managed pools) replace most of those calls. The vgone() calls vgone1() calls vclean, and we're back in my hate-zone. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.