From owner-freebsd-fs@FreeBSD.ORG Wed Apr 25 21:02:21 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A2B916A407; Wed, 25 Apr 2007 21:02:21 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: from fnord.ir.bbn.com (fnord.ir.bbn.com [192.1.100.210]) by mx1.freebsd.org (Postfix) with ESMTP id 69B7213C484; Wed, 25 Apr 2007 21:02:21 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 631475289; Wed, 25 Apr 2007 17:02:20 -0400 (EDT) From: Greg Troxel To: Robert Watson References: <20070422124731.GA20548@harmless.hu> <462CAE66.3050001@freebsd.org> <20070425093131.F37507@fledge.watson.org> X-Hashcash: 1:20:070425:freebsd-fs@freebsd.org::4dXYjK6yQ69jY5Zl:0000000000000000000000000000000000000001y6p X-Hashcash: 1:20:070425:anderson@freebsd.org::9mfUlVzeR3Mmq+64:000000000000000000000000000000000000000003PNH X-Hashcash: 1:20:070425:rwatson@freebsd.org::4dXYjK6yQ69jY5Zl:0000000000000000000000000000000000000000008Pgi Date: Wed, 25 Apr 2007 17:02:20 -0400 In-Reply-To: <20070425093131.F37507@fledge.watson.org> (Robert Watson's message of "Wed\, 25 Apr 2007 09\:35\:19 +0100 \(BST\)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org Subject: Re: distributed filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 21:02:21 -0000 Good point, and I suspect it isn't that hard. NetBSD is also (finally) moving to fine-grained locking. I supsect one could either create a coda lock and always grab that, or to make locks for each data object (the name cache is probably what's needed - everything else is per-vnode and the vnode lock protects most vnode changes). -- Greg Troxel