diff options
author | Tapani Pälli <[email protected]> | 2018-01-22 11:55:06 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-02-07 14:45:34 +0200 |
commit | 6a651b6b77b68db71a027c826abccc843ace88ef (patch) | |
tree | 322afa365c7c65b1078813ebe1a448da41ec1ac5 /.gitignore | |
parent | e8495646afb06a9dd7786e9d11f4cdd7ac49279a (diff) |
disk cache: initialize cache path and index only when used
This patch makes disk_cache initialize path and index lazily so
that we can utilize disk_cache without a path using callback
functionality introduced by next patch.
v2: unmap mmap and destroy queue only if index_mmap exists
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions