From owner-freebsd-current Mon Oct 28 14:57:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B92937B401 for ; Mon, 28 Oct 2002 14:57:48 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E31BF43E4A for ; Mon, 28 Oct 2002 14:57:43 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 84863 invoked by uid 1000); 28 Oct 2002 22:57:44 -0000 Date: Mon, 28 Oct 2002 14:57:44 -0800 (PST) From: Nate Lawson To: John Baldwin Cc: Joe Marcus Clarke , current@FreeBSD.org Subject: Re: libgtop port and v_tag changes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 28 Oct 2002, John Baldwin wrote: > On 28-Oct-2002 Joe Marcus Clarke wrote: > > You're probably right. But without waiting to re-architect libgtop, I > > think the immediate problem needs to be fixed. Shall I just commit my > > original patch that uses libkvm? > > Use v_cachedid and v_cachedfs for all VREG vnodes. Then you don't > need to even go near v_tag. This is fewer kvm_read()'s. If stable > has the v_cachedid then it should be using that instead of reading > in UFS inodes as well. I plan to go through and fix fstat(1) to be a better example once I have a little time. It's lower on my priority list than the SCSI stuff though. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message