public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: Dietmar Maurer <dietmar@proxmox.com>,
	Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [RFC proxmox-backup] fix #5710: api: backup: stat known chunks during backup
Date: Tue, 17 Sep 2024 09:19:22 +0200	[thread overview]
Message-ID: <27cfdbaa-eb6d-4585-a339-5640cf2ac323@proxmox.com> (raw)
In-Reply-To: <1902796862.144.1726241034647@webmail.proxmox.com>

On 9/13/24 17:23, Dietmar Maurer wrote:
> 
>> Known chunks are expected to be present on the datastore a-priori,
>> allowing clients to only re-index these chunks without uploading the
>> raw chunk data. The list of reusable known chunks is send to the
>> client by the server, deduced from the indexed chunks of the previous
>> backup snapshot of the group.
> 
> Is it possible to only stat actually reused chunks at the end?

Yes, as is all the chunks, even not reused but indexed by the previous 
backup snapshot are stat'ed.

I can add an additional flag to the hashmap's value storing known chunks
to differentiate and only stat these.

Will send a new version of the patch.


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


  reply	other threads:[~2024-09-17  7:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13 13:59 Christian Ebner
2024-09-13 15:23 ` Dietmar Maurer
2024-09-17  7:19   ` Christian Ebner [this message]
2024-09-17 11:40     ` Christian Ebner
2024-09-18  8:54       ` Dietmar Maurer
2024-09-16 10:17 ` Gabriel Goller
2024-09-17  7:23   ` Christian Ebner
2024-09-20 13:42 ` Christian Ebner

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=27cfdbaa-eb6d-4585-a339-5640cf2ac323@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=dietmar@proxmox.com \
    --cc=pbs-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