superseded-by:
https://lists.proxmox.com/pipermail/pve-devel/2024-July/064545.html

On Mon, 24 Jun 2024 21:57:10 +0200
Stoiko Ivanov <s.iva...@proxmox.com> wrote:

> This patchset fixes a small glitch that we noticed in a pom-setup, creating
> regular snapshots, without cleaning them up regularly.
> 
> Eventually medium sync becomes quite slow.
> After removing many snapshots and running garbage collection both on the
> mirror as well as on the medium the run-time for the sync still took quite
> long. strace showed that the process still walked through the directories
> for each snapshot on the medium - they were not cleaned up after all the
> files inside were removed.
> 
> tested the patch locally (which is the reason for patch 1/2).
> 
> Stoiko Ivanov (2):
>   bump proxmox-time to 2.0
>   medium: remove snapshot link directories not present in source mirror
> 
>  Cargo.toml     |  2 +-
>  debian/control |  2 +-
>  src/medium.rs  | 18 +++++++++++++++++-
>  src/types.rs   |  2 +-
>  4 files changed, 20 insertions(+), 4 deletions(-)
> 



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to