summaryrefslogtreecommitdiffstats
path: root/REVIEWERS
diff options
context:
space:
mode:
authorAlan Swanson <[email protected]>2017-03-17 18:05:43 +0000
committerTimothy Arceri <[email protected]>2017-03-18 14:32:57 +1100
commita7eb7984bf2ad0562c315c1d641561419c3f1ebe (patch)
tree5e4a827f8d9ef26b304b903bed99043da81448ad /REVIEWERS
parentbf8bc6190e79b4312da08a4a5e8f3c3ec129162f (diff)
util/disk_cache: pass predicate functions file stats directly (v4)
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). v2: Update for empty cache dir detection changes v3: Fix passing string length to predicate with the +1 for NULL termination and also pass sb as pointer v4: Missed ampersand for passing sb as pointer Reviewed-by: Grazvydas Ignotas <[email protected]> Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions