Date: Fri, 6 Dec 2002 20:09:14 -0500 (EST) From: Robert Watson <rwatson@freebsd.org> To: "David E. Cross" <crossd@cs.rpi.edu> Cc: freebsd-fs@freebsd.org Subject: Re: openafs question Message-ID: <Pine.NEB.3.96L.1021206200606.5166P-100000@fledge.watson.org> In-Reply-To: <200211281128.gASBS2g04424@monica.cs.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Nov 2002, David E. Cross wrote: > I've been working on the FreeBSD-OpenAFS port, and I seem to be down to > one last bug; I know what it is, I am just having trouble getting the > solution to it. Darwin appears to use a VSTANDARD flag to identify vnodes managed by the system vnode pool. vfree() on Darwin notices non-standard vnodes, and simply returns. I haven't read the OpenAFS code in ages -- certainly not since it gained Darwin support, so I don't know how exactly it handles determining it has been reclaimed (perhaps this happens as part of its VOP_INACTIVE() code, although they'd have to be careful about races there). We might be able to play much the same trick, although you'd want to do it very carefully so as to maintain the same locking invariants as standard vnodes, etc. Presumably changing to a model that doesn't involve non-standard vnode handling would involve extensive changes to OpenAFS? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1021206200606.5166P-100000>