From owner-cvs-all Tue Oct 2 12:25:21 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 988B237B40B; Tue, 2 Oct 2001 12:25:11 -0700 (PDT) Received: (from dillon@localhost) by earth.backplane.com (8.11.6/8.11.2) id f92JPAu59635; Tue, 2 Oct 2001 12:25:10 -0700 (PDT) (envelope-from dillon) Date: Tue, 2 Oct 2001 12:25:10 -0700 (PDT) From: Matt Dillon Message-Id: <200110021925.f92JPAu59635@earth.backplane.com> To: Alfred Perlstein Cc: Poul-Henning Kamp , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/ufs/ufs ufs_vnops.c References: <200110021733.f92HXwI58562@earth.backplane.com> <11806.1002044186@critter.freebsd.dk> <20011002142053.L59854@elvis.mu.org> 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] Ugh. No. I've got a better solution. I've got two separate email threads going on here so I am going to consolidate and post the idea w/ patches to freebsd-hackers. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message