From owner-freebsd-hackers@FreeBSD.ORG Thu May 8 11:01:52 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C68C137B401 for ; Thu, 8 May 2003 11:01:52 -0700 (PDT) Received: from internetDog.org (CPE00010230ac1b-CM014490005040.cpe.net.cable.rogers.com [24.102.167.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8210543FBD for ; Thu, 8 May 2003 11:01:51 -0700 (PDT) (envelope-from alih@internetDog.org) Received: from alih by internetDog.org with local (Exim 3.12 #1 (Debian)) id 19Dpic-0007Ra-00 for ; Thu, 08 May 2003 14:02:10 -0400 Date: Thu, 8 May 2003 14:02:10 -0400 From: Ali Bahar To: freebsd-hackers@freebsd.org Message-ID: <20030508140210.B26126@internetDog.org> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20030504113221.A27756@internetDog.org> <20030507134734.A12455@internetDog.org> <20030508085156.GA60571@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030508085156.GA60571@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Thu, May 08, 2003 at 09:51:56AM +0100 Subject: Re: cache_purge > cache_zap segmentation fault X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: alih@internetDog.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 18:01:53 -0000 Hi David, you're right. The name cache is system-wide. I still need to understand the difference between a vnode's v_cache_src and v_cache_dst (IOW, a namecache's nc_src and nc_dst), and the hash chain which finds them. (I knew I should have elaborated! ;-) I took a look at related files in 5.0. (I am not familiar with freebsd's release procedures, and have assumed that 'current' is the testing/in-development code which is the pre-release to 5.0.) The vnode recycling code has undergone non-trivial changes. As the seg fault now recurs frequently, I may have to investigate the modifications. Thanks for your reply. regards, ali On Thu, May 08, 2003 at 09:51:56AM +0100, David Malone wrote: > On Wed, May 07, 2003 at 01:47:34PM -0400, Ali Bahar wrote: > > What I do not know, is whether there is a single system-wide name cache, > The name cache is global, as far as I remember. > > David. -- Jesus was an Arab.