disk_cache: reduce default cache size to 5% of filesystem
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 27 Apr 2017 01:15:29 +0000 (11:15 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 27 Apr 2017 10:43:50 +0000 (20:43 +1000)
commitce412371513c90bf9156f22c3567ee57750ef264
treeb843a1d423240695ea3bfc7f98086b861978845d
parentf4743763cefa161afeb8e1e7b4e56c2adcb0d1ef
disk_cache: reduce default cache size to 5% of filesystem

Modern disks are extremely large and are only going to get bigger.
Usage has shown frequent Mesa upgrades can result in the cache
growing very fast i.e. wasting a lot of disk space unnecessarily.

5% seems like a more reasonable default.

Cc: "17.1" <mesa-stable@lists.freedesktop.org>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
src/util/disk_cache.c