]> git.proxmox.com Git - proxmox-backup.git/commit
pxar: caching: add look-ahead cache
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 23 Apr 2024 13:16:26 +0000 (15:16 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 5 Jun 2024 14:39:41 +0000 (16:39 +0200)
commit6f239762474f5d365acb2b879a2b408e042e1e18
treea1288252734be0d1943be1dec10261e00e795862
parentd0f7d86c9e26bc830f7252bcadecfe54a05d756a
pxar: caching: add look-ahead cache

Add a lookahead cache and the neccessary types to store the required
data and keep track of directory boundaries while traversing the
filesystem tree, in order to postpone a decision if to reuse or
reencode a given regular file with unchanged metadata.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
pbs-client/src/pxar/create.rs
pbs-client/src/pxar/look_ahead_cache.rs [new file with mode: 0644]
pbs-client/src/pxar/mod.rs