Hi Scott,

In ccache's cleanup.c module, the comments say that files are deleted from
> the cache on a LRU basis.  However, the code refers to mtime, not atime, so
> it appears that ccache is, in reality, using a Least Recently *Modified* basis
> upon which to expire files from the cache.  Is that really what ccache does?
> Or did I miss something?


Yes, mtime is updated on a cache hit, looks for calls to the update_mtime
function.

-- Joel
_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to