]> err.no Git - varnish/commit
Support for multiple cache files. The selecting of a cache file is done by a simple...
authorcecilihf <cecilihf@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 08:16:44 +0000 (08:16 +0000)
committercecilihf <cecilihf@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 08:16:44 +0000 (08:16 +0000)
commit928bf09e9a7115aea344956986db0ef8445fdf20
tree251e25a2623496ed2f40ee44e2b7728d211f5e50
parent45f8939ffa39b8b1dc12339c2a059ae52528c3e9
Support for multiple cache files. The selecting of a cache file is done by a simple round-robin that selects
the first file in the list, and then moves it to the end. If the selected file hasn't got enough space, the next
one is tried. If no file has enough space, the LRU discarding is applied to the first file in the list.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1724 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_main.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/stevedore.c
varnish-cache/bin/varnishd/stevedore.h
varnish-cache/bin/varnishd/varnishd.c