util/disk_cache: use a new cache dir for the single file cache feature
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 22 Sep 2020 00:38:59 +0000 (10:38 +1000)
committerMarge Bot <eric+marge@anholt.net>
Sun, 21 Feb 2021 02:50:45 +0000 (02:50 +0000)
commitf88c13f26d9b56385d3f012909b2fea42833ab84
tree87a4b006c3e167a5bbff9f7774954369e441b030
parentc1e4810221484c8e7b5e5a9423a5811a357d39dd
util/disk_cache: use a new cache dir for the single file cache feature

This allows us to guarantee the different cache implementations will not
interfere with each other and should make it more clear that the max cache
size limits are applied separately for each cache implementation.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7725>
src/util/disk_cache.h
src/util/disk_cache_os.c