[PATCH] revamped mod_disk_cache directory structure

2006-07-20 Thread Davi Arnaut
Hi, This patch converts the mod_disk_cache cache directory structure to a uniformly distributed two level hierarchy. The admin specifies the number of level-1 and level-2 directories and the files are scattered across the level-2 directories. Also, with this patch it is possible to designate

Re: [PATCH] revamped mod_disk_cache directory structure

2006-07-20 Thread Colm MacCarthaigh
On Thu, Jul 20, 2006 at 11:58:01AM -0300, Davi Arnaut wrote: Also, with this patch it is possible to designate directories to separate partitions because the temporary files are created on the destination directory. I'm not sure it goes far enough though. What if an admin has two

Re: [PATCH] revamped mod_disk_cache directory structure

2006-07-20 Thread Davi Arnaut
Em 20/07/2006, às 17:06, Colm MacCarthaigh escreveu: On Thu, Jul 20, 2006 at 11:58:01AM -0300, Davi Arnaut wrote: Also, with this patch it is possible to designate directories to separate partitions because the temporary files are created on the destination directory. I'm not sure it goes

Re: [PATCH] revamped mod_disk_cache directory structure

2006-07-20 Thread Colm MacCarthaigh
On Thu, Jul 20, 2006 at 06:16:26PM -0300, Davi Arnaut wrote: I'm not sure it goes far enough though. What if an admin has two filesystems/disks they can to store the cache on, or what if it's 7? CacheDirLevels n 256 for n = 1,2,...,7,... Ahh, now I get it, cool. What if one is a 160GB