From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 30 12:34:53 2006 Return-Path: X-Original-To: hackers@freebsd.org 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 5D56416A47C for ; Mon, 30 Oct 2006 12:34:53 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6375343D58 for ; Mon, 30 Oct 2006 12:34:45 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k9UCYbpi031007; Mon, 30 Oct 2006 15:34:37 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k9UCYb72031006; Mon, 30 Oct 2006 15:34:37 +0300 (MSK) (envelope-from yar) Date: Mon, 30 Oct 2006 15:34:37 +0300 From: Yar Tikhiy To: David Malone Message-ID: <20061030123437.GD27062@comp.chem.msu.su> References: <20061029140716.GA12058@comp.chem.msu.su> <20061029152227.GA11826@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061029152227.GA11826@walton.maths.tcd.ie> User-Agent: Mutt/1.5.9i Cc: hackers@freebsd.org Subject: Re: File trees: the deeper, the weirder X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 12:34:53 -0000 On Sun, Oct 29, 2006 at 03:22:27PM +0000, David Malone wrote: > On Sun, Oct 29, 2006 at 05:07:16PM +0300, Yar Tikhiy wrote: > > Weird, eh? Any ideas what's going on? > > I would guess that you need a new vnode to create the new file, but no > vnodes are obvious candidates for freeing because they all have a child > directory in use. Is there some sort of vnode clearing that goes on every > second if we are short of vnodes? It seems to me that in Unix, when a process chdir's to a directory, the parent directory of the latter (and the whole chain of them up to the root dir) isn't kept busy. Is this untrue? -- Yar