[darcs-users] darcs patch: Add forceHashSlurped that hashes the slu... (and 1 more)

Dan Pascu dan at ag-projects.com
Mon Sep 1 17:25:26 UTC 2008


On Monday 01 September 2008, Petr Rockai wrote:
> I have been thinking about that approach before, but have discarded it
> on the paranoia argument. It still might be worthwhile: the downside
> is, that repair would pollute the pristine.hashed with a very large
> number of stale files: basically, any intermediate repository states
> that we write out, which aren't that few. So we really want to call
> clean_hashed every now and then while running repair (I think ext3
> might have issues with very large directories, too, and also for space
> reasons...).

ext3 cannot handle more than 32768 files in a directory, or more than 
32768 hard links to a file. A directory with many files also becomes 
slow. I guess the 32K limit poses a problem to the patches directory as 
well if the project gets to have a lot of recorded changesets.

-- 
Dan


More information about the darcs-users mailing list