diff options
author | Timothy Arceri <[email protected]> | 2017-04-27 11:15:30 +1000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-04-30 09:46:30 +0100 |
commit | 359782960595fa063660db8c4d4eebcfdb51a56d (patch) | |
tree | ba914111df2844c29ad48b46146474b83736b483 /install-gallium-links.mk | |
parent | 505e7cd2324847ca74c7ef393e5013facdcc6cb5 (diff) |
disk_cache: use block size rather than file size
The majority of cache files are less than 1kb this resulted in us
greatly miscalculating the amount of disk space used by the cache.
Using the number of blocks allocated to the file is more
conservative and less likely to cause issues.
This change will result in cache sizes being miscalculated further
until old items added with the previous calculation have all been
removed. However I don't see anyway around that, the previous
patch should help limit that problem.
Cc: "17.1" <[email protected]>
Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
(cherry picked from commit 4e1f3afea9bdeddb0d21f00d25319bce580d80c3)
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions