From owner-freebsd-fs Thu Nov 28 12: 1:18 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 6B63437B401 for ; Thu, 28 Nov 2002 12:01:17 -0800 (PST) Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5CB143E9C for ; Thu, 28 Nov 2002 12:01:16 -0800 (PST) (envelope-from crossd@cs.rpi.edu) Received: from monica.cs.rpi.edu (monica.cs.rpi.edu [128.213.7.3]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id PAA75432; Thu, 28 Nov 2002 15:01:14 -0500 (EST) Received: from monica.cs.rpi.edu (crossd@localhost) by monica.cs.rpi.edu (8.11.6/8.11.6) with ESMTP id gASK1Ei05291; Thu, 28 Nov 2002 15:01:14 -0500 (EST) (envelope-from crossd@monica.cs.rpi.edu) Message-Id: <200211282001.gASK1Ei05291@monica.cs.rpi.edu> To: Alfred Perlstein Cc: "David E. Cross" , freebsd-fs@freebsd.org, crossd@cs.rpi.edu Subject: Re: openafs question In-Reply-To: Message from Alfred Perlstein of "Thu, 28 Nov 2002 04:36:53 PST." <20021128123653.GN16066@elvis.mu.org> References: <200211281128.gASBS2g04424@monica.cs.rpi.edu> <20021128123550.GM16066@elvis.mu.org> <20021128123653.GN16066@elvis.mu.org> Date: Thu, 28 Nov 2002 15:01:14 -0500 From: "David E. Cross" 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 > * Alfred Perlstein [021128 04:35] 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? > > But seriously, this is a bad practice, it should be using the system > allocator and DTRT. Seriously. This is some very heinous code. If I could figure out an easy way around the fact that a vcache has a vnode in it, and not a vnode pointer, I'd probably start down this road, I'd also need to rip out a considerable amount of AFS code that deals with it having its own VLRU cache, etc. It seems in terms of support from them it makes sense to just play along. -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message