public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH proxmox-offline-mirror 0/2] remove snapshot directories vanished on source also on medium
Date: Tue, 9 Jul 2024 12:50:54 +0200	[thread overview]
Message-ID: <20240709125054.204c2f4b@rosa.proxmox.com> (raw)
In-Reply-To: <20240624195712.962468-1-s.ivanov@proxmox.com>

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.ivanov@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


      parent reply	other threads:[~2024-07-09 10:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 19:57 Stoiko Ivanov
2024-06-24 19:57 ` [pve-devel] [PATCH proxmox-offline-mirror 1/2] bump proxmox-time to 2.0 Stoiko Ivanov
2024-06-26  6:40   ` [pve-devel] applied: " Fabian Grünbichler
2024-06-24 19:57 ` [pve-devel] [PATCH proxmox-offline-mirror 2/2] medium: remove snapshot link directories not present in source mirror Stoiko Ivanov
2024-06-26 10:24   ` Fabian Grünbichler
2024-07-09 10:50 ` Stoiko Ivanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240709125054.204c2f4b@rosa.proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal