[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-713-g7a911b3

Rafal Szczesniak mimir at samba.org
Tue Dec 18 10:33:30 GMT 2007


> commit 7a911b35713538d82001a3c9f34152e293fe1943
> Author: Volker Lendecke <vl at samba.org>
> Date:   Tue Dec 18 09:41:03 2007 +0100
> 
>     Add a in-memory cache
>     
>     This is a more general API that caches data with a LRU scheme. See
>     include/cache.h. No comments yet, I'm still working on it. But Jeremy has given
>     me a hint in one of his checkins that he would like to make use of this now.
>     
>     The idea is that we get rid of all our silly little caches and merge them all
>     into one cache

I thought gencache was originally implemented for this reason :-)

>     that we can then very easily trim, for example even with a
>     smbcontrol message if someone decides memory is tight. The main user is the
>     stat cache, this patch also converts the getwd cache. More caches to come.


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20071218/29e754e3/attachment.bin


More information about the samba-technical mailing list