From owner-freebsd-hackers Tue Apr 17 14: 1:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 1F30837B42C for ; Tue, 17 Apr 2001 14:01:17 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f3HL0iU27881; Tue, 17 Apr 2001 23:00:44 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Matt Dillon Cc: Alfred Perlstein , Kirk McKusick , Julian Elischer , Rik van Riel , freebsd-hackers@FreeBSD.ORG, David Xu Subject: Re: vm balance In-Reply-To: Your message of "Tue, 17 Apr 2001 13:58:21 PDT." <200104172058.f3HKwL907470@earth.backplane.com> Date: Tue, 17 Apr 2001 23:00:44 +0200 Message-ID: <27879.987541244@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200104172058.f3HKwL907470@earth.backplane.com>, Matt Dillon writes: > >: >:In message <200104172016.f3HKG9l05966@earth.backplane.com>, Matt Dillon writes: >:> >:>:In message <20010417125838.J976@fw.wintelcom.net>, Alfred Perlstein writes: >:>: >:>:>I thought vnodes were in stable storage? >:>: >:>:They are, that's the point Matt is not seeing yet. >:> >:> I know vnodes are in stable storage. I'm just saying that NFS >:> is the least of your worries in trying to change that. >: >:The namecache can do without the use of soft references. >: >:The only reason vnodes are stable storage any more is that NFS >:uses soft references to vnodes. > > The only place I see soft references on vnode is in the NFS > lookup code which duplicates the VFS lookup code (except gets it wrong). > If you are refering to the nqlease code... that looks like a hard > reference to me. I'm not even sure why they bother to check v_id. > The vp reference from an nfsnode is a hard reference. > Well, if that's the case, yank all uses of v_id from the nfs code, I'll do the namecache and vnodes can be deleted to the joy of our users... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message