commit | ad9f5880502c9a3f8e7f8919336888ee056f17ba | [log] [tgz] |
---|---|---|
author | Akira TAGOH <akira@tagoh.org> | Fri Aug 14 17:17:34 2015 +0900 |
committer | Akira TAGOH <akira@tagoh.org> | Fri Aug 14 17:19:29 2015 +0900 |
tree | d5d0ad4e90499856f056c720ad962a080042e2cd | |
parent | 46ec6a52d4cc447cc3ff4a13b2067ecb76c9db2e [diff] |
Fix the broken cache more. Take a look at the nano second in the mtime to figure out if the cache needs to be updated if available. and do the mutex lock between scanning and writing a cache to avoid the conflict. Also we don't need to scan directories again after writing caches. so getting rid of the related code as well. https://bugs.freedesktop.org/show_bug.cgi?id=69845 and for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1236034