Re: [Mesa-dev] [PATCH 2/3] util/disk_cache: actually enforce cache size

2017-03-06 Thread Grazvydas Ignotas
This seems to break "make check", so needs to update tests I guess. GraÅžvydas On Mon, Mar 6, 2017 at 6:17 PM, Alan Swanson wrote: > Currently only a one in one out eviction so if at max_size and > cache files were to constantly increase in size then so would the > cache. Restrict to limit of 8 e

[Mesa-dev] [PATCH 2/3] util/disk_cache: actually enforce cache size

2017-03-06 Thread Alan Swanson
Currently only a one in one out eviction so if at max_size and cache files were to constantly increase in size then so would the cache. Restrict to limit of 8 evictions per new cache entry. --- src/util/disk_cache.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/d