Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 15:01:14 -0500
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        Alfred Perlstein <bright@mu.org>
Cc:        "David E. Cross" <crossd@cs.rpi.edu>, freebsd-fs@freebsd.org, crossd@cs.rpi.edu
Subject:   Re: openafs question 
Message-ID:  <200211282001.gASK1Ei05291@monica.cs.rpi.edu>
In-Reply-To: Message from Alfred Perlstein <bright@mu.org>  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> 

next in thread | previous in thread | raw e-mail | index | archive | help
> * Alfred Perlstein <bright@mu.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211282001.gASK1Ei05291>