proxmox-backup/src
Christian Ebner 3e56c4abd7 pxar::fuse: Introduce LRU caching for goodbye table and directory entries.
The goodbye table of directory entries is cached in a LRU cache to speed up
subsequent accesses.
This is especially important for directories with many entries, as then the
readdirplus callback is called repeatedly because of the limited reply buffer
size.

`DirectoryEntry`s are cached for subsequent access in their own LRU cache,
independent of the goodbye tables.

In order to avoid borrow conflicts, the `Context` provides a fn as_mut_refs
as well as a fn run_with_context_refs.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-28 10:06:53 +01:00
..
api2 src/client/http_client.rs: new struct HttpClientOptions 2020-01-25 12:18:00 +01:00
backup use proxmox 0.1.9 with new cli command helpers 2020-01-27 18:08:43 +01:00
bin use proxmox 0.1.9 with new cli command helpers 2020-01-27 18:08:43 +01:00
client src/client/http_client.rs: new password_env option 2020-01-27 10:42:37 +01:00
config src/config/remote.rs: add fingerprint 2020-01-25 09:49:45 +01:00
pxar pxar::fuse: Introduce LRU caching for goodbye table and directory entries. 2020-01-28 10:06:53 +01:00
server bump proxmox crate to 0.1.7 2020-01-21 13:48:37 +01:00
storage api/compat: remove remaining api_schema references 2019-11-21 14:53:15 +01:00
tools tools: add access method to LruCache 2020-01-24 09:32:09 +01:00
api2.rs bump proxmox crate to 0.1.7 2020-01-21 13:48:37 +01:00
auth_helpers.rs bump proxmox crate to 0.1.7 2020-01-21 13:48:37 +01:00
backup.rs remove tools::getpwnam_ugid, impl. crate::backup::backup_user() 2019-12-19 10:20:13 +01:00
buildcfg.rs some clippy fixups 2019-09-11 12:14:05 +02:00
client.rs src/client/task_log.rs: move display_task_log into extra file 2019-12-08 11:27:15 +01:00
config.rs bump proxmox crate to 0.1.7 2020-01-21 13:48:37 +01:00
lib.rs use cli from proxmox::api 2019-12-02 11:56:29 +01:00
pxar.rs pxar: add fuse module and expose its pub functionality. 2019-08-09 16:45:13 +02:00
section_config.rs bump proxmox crate to 0.1.7 2020-01-21 13:48:37 +01:00
server.rs move src/api_schema/config.rs -> src/server/config.rs 2019-11-22 09:23:03 +01:00
tools.rs tools: LRU cache to use for pxar FUSE implementation. 2020-01-22 13:11:42 +01:00