[tahoe-dev] notes about DIR2:CHK deep immutability (maybe Tahoe-LAFS v1.6)

Brian Warner warner at lothar.com
Wed Oct 21 11:12:34 PDT 2009


Shawn Willden wrote:

> Cool!  One of the things I've been wishing for is a way to create a dirnode 
> already populated with a full set of children, rather than having to add them 
> one at a time.

I just checked that in a few days ago. Check out webapi.txt .. it's most
easily expressed as a request body to PUT /uri?t=mkdir . And a quick
test suggests it's 30% faster than mkdir+set_children (it goes from 3
roundtrips to 1).

The DIR2:CHK: creation function will be PUT /uri?t=mkdir&immutable=true
, I think.

cheers,
 -Brian




More information about the tahoe-dev mailing list