Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 14:20:53 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Matt Dillon <dillon@earth.backplane.com>, 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>
In-Reply-To: <11806.1002044186@critter.freebsd.dk>; from phk@critter.freebsd.dk on Tue, Oct 02, 2001 at 07:36:26PM %2B0200
References:  <200110021733.f92HXwI58562@earth.backplane.com> <11806.1002044186@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@critter.freebsd.dk> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011002142053.L59854>