[PATCH] Re: "Too many links"

Brad Fitzpatrick brad at danga.com
Mon Oct 15 07:31:49 UTC 2007


I have an updated version of this patch about done that I'll be
committing.  I kept the %02x/%02x/* directory structure (not sure why I
didn't do that from the beginning... I lose), but I also made it detect
when it hits the max link count, and upgrade as needed (4 hex dirs -> 2
hex dirs) to make room for the new directory.   There's also an option to
upgrade everything at once, but that takes a bit longer (still not
so bad).

Thanks for the patch!


On Wed, 26 Sep 2007, Max Kanat-Alexander wrote:

> On Tue, 25 Sep 2007 20:53:10 -0700 Brad Fitzpatrick <brad at danga.com>
> wrote:
> > Want to patch it to use 2 character dirs from now on, but still
> > stat/fallback to the old paths when looking for chunks?
>
> 	Okay, so I actually just went ahead and did it tonight. :-)
> It's running on my server and it seems to be OK.
>
> 	I made it do two levels of two-character directories, which
> should easily be random enough to prevent directories from growing
> huge, and should also fix the ext3 problem.
>
> 	If you want, I can run it on the server for several days before
> you commit it.
>
> 	-Max
> --
> http://www.everythingsolved.com/
> Competent, Friendly Bugzilla Services. And Everything Else, too.
>


More information about the brackup mailing list