From owner-cvs-all Tue Oct 2 12:21: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 34D6737B407; Tue, 2 Oct 2001 12:20:59 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id D652781D01; Tue, 2 Oct 2001 14:20:53 -0500 (CDT) Date: Tue, 2 Oct 2001 14:20:53 -0500 From: Alfred Perlstein To: Poul-Henning Kamp Cc: Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c Message-ID: <20011002142053.L59854@elvis.mu.org> References: <200110021733.f92HXwI58562@earth.backplane.com> <11806.1002044186@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <11806.1002044186@critter.freebsd.dk>; from phk@critter.freebsd.dk on Tue, Oct 02, 2001 at 07:36:26PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Poul-Henning Kamp [011002 12:37] wrote: > In message <200110021733.f92HXwI58562@earth.backplane.com>, Matt Dillon writes: > > > We can't switch around which one the syscall locks (lock the source > > instead of the destination) without changing the VOP_RENAME api. > > Well, we can change the API, just not the semantics... Before we go off into hysterics, one solution I heard from Alexander Viro was to just serialize all rename operations on the filesystem using a lock in the superblock. It sucks, but at least it's correct. I hope this is relevant. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message