3e56c4abd7
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> |
||
---|---|---|
.. | ||
api2 | ||
backup | ||
bin | ||
client | ||
config | ||
pxar | ||
server | ||
storage | ||
tools | ||
api2.rs | ||
auth_helpers.rs | ||
backup.rs | ||
buildcfg.rs | ||
client.rs | ||
config.rs | ||
lib.rs | ||
pxar.rs | ||
section_config.rs | ||
server.rs | ||
tools.rs |