Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 14:36:12 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: openafs question
Message-ID:  <20021128223612.GP16066@elvis.mu.org>
In-Reply-To: <200211281944.gASJidO05245@monica.cs.rpi.edu>
References:  <200211281128.gASBS2g04424@monica.cs.rpi.edu> <20021128123550.GM16066@elvis.mu.org> <200211281944.gASJidO05245@monica.cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* David E. Cross <crossd@cs.rpi.edu> [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




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