[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Revised Proposal: Improved locking implementation for fsfs

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2005-01-06 19:18:39 CET

Justin Erenkrantz wrote:
> --On Thursday, January 6, 2005 4:51 PM +0100 "Peter N. Lundblad"
> <peter@famlundblad.se> wrote:
>> we want to handle locking hundreds of files at the same time
>> appropriately, we need "lock/unlock these paths" APIs instead. I think
>> DAV
>> will require one round-trip per locked path anyway.
> A LOCK request with a depth of infinity would do that in one shot. I
> forget whether we're planning to implement that or not. -- justin

Depends on what one understands at "locking hundreds of files at the
same time". A (WebDAV)-LOCK with depth infinity creates one single lock
that protects a whole URI namespace. However, it's still *one* lock,
that is if you LOCK "a" containing "a/b" and "a/c", you can't remove the
lock from "a/c" without removing the lock from all other protected URIs
as well.

Best regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 6 19:20:10 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.