From owner-freebsd-fs Thu Nov 28 14:36:14 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 434DC37B401 for ; Thu, 28 Nov 2002 14:36:13 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D83F43EB2 for ; Thu, 28 Nov 2002 14:36:12 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 6E0F5AE163; Thu, 28 Nov 2002 14:36:12 -0800 (PST) Date: Thu, 28 Nov 2002 14:36:12 -0800 From: Alfred Perlstein To: "David E. Cross" Cc: freebsd-fs@freebsd.org Subject: Re: openafs question Message-ID: <20021128223612.GP16066@elvis.mu.org> References: <200211281128.gASBS2g04424@monica.cs.rpi.edu> <20021128123550.GM16066@elvis.mu.org> <200211281944.gASJidO05245@monica.cs.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211281944.gASJidO05245@monica.cs.rpi.edu> User-Agent: Mutt/1.4i Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * David E. Cross [021128 11:44] wrote: > > Have getnewvnode add a flag to the vnode noting that it's meant for the > > global list, otherwise store a "free()" callback in the vnode to be called? > > I don't think I understand. In the current code "getnewvnode" is never > called. What it has is a giant circularly linked list of tvc's, where a > TVC is defined as something like: getnewvnode would mark system vnodes (vnodes actually allocated via getnewvnode()) with a flag, then only those vnodes would be candidates for recycling and usage for other filesystems when the vrele calls drop the hold count down to zero. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message