Re: ACL based selection of cache_dir

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 21 Sep 2000 03:55:37 +0800

On Wed, Sep 20, 2000, Andres Kroonmaa wrote:
>
> What do you think of allowing cache_dir selection to be controlled
> by configuration and specifically ACL's?

It would be a neat option. You can do this by:

* deferring the swapout in storeSwapOut() in src/store_swapout.c .
  Its a little convoluted, look for how maxobjsize is treated ..
* creating a 'store dir selection algorithm' for this. Duane added
  a config option selecting round robin or whatever you wanted.
  Check out store_dir.c I think.

It shouldn't be too hard to add. Go knock yourself out. :-)

Adrian

-- 
Adrian Chadd			"If a butterfly flaps its wings in China,
<adrian@creative.net.au>	    will a women get naked in Amsterdam?"
				      -- Ashley Penney on Chaos Theory
Received on Wed Sep 20 2000 - 13:55:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:37 MST