forked from proxmox-mirrors/proxmox-backup
![]() Add methods to insert new cache entries without using the cacher, remove cache entries given their key and check if the cache contains a key, marking it the most recently used one if it does. These methods will be used to implement the local datastore cache which stores the values (chunks) on the filesystem rather than keeping track of them by storing them in-memory in the cache. The lru cache will only be used to allow for fast lookup and keep track of the lookup order. Signed-off-by: Christian Ebner <c.ebner@proxmox.com> Reviewed-by: Hannes Laimer <h.laimer@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |