mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-06 13:18:00 +03:00
cf75bc0db5
The lookahead cache size requires the resource limit for open file handles to be high in order to allow for efficient reuse of unchanged file payloads. Increase the nofile soft limit to the hard limit and dynamically adapt the cache size to the new soft limit minus the half of the previous soft limit. The `PxarCreateOptions` and the `Archiver` are therefore extended by an additional field to store the maximum cache size, with fallback to a default size of 512 entries. Signed-off-by: Christian Ebner <c.ebner@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |