From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 92D5D1FF173 for ; Mon, 11 Nov 2024 15:22:57 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2C88BD6E6; Mon, 11 Nov 2024 15:22:54 +0100 (CET) Date: Mon, 11 Nov 2024 15:22:48 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20241107165146.125935-1-f.ebner@proxmox.com> <20241107165146.125935-20-f.ebner@proxmox.com> In-Reply-To: <20241107165146.125935-20-f.ebner@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1731334710.1l9fz5r19p.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.047 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH qemu-server v3 19/34] backup: keep track of block-node size for fleecing X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" T24gTm92ZW1iZXIgNywgMjAyNCA1OjUxIHBtLCBGaW9uYSBFYm5lciB3cm90ZToKPiBGb3IgZmxl ZWNpbmcsIHRoZSBzaXplIG5lZWRzIHRvIG1hdGNoIGV4YWN0bHkgd2hhdCBRRU1VIHNlZXMuIElu Cj4gcGFydGljdWxhciwgRUZJIGRpc2tzIG1pZ2h0IGJlIGF0dGFjaGVkIHdpdGggYSAnc2l6ZT0n IG9wdGlvbiwgbWVhbmluZwo+IHRoYXQgc2l6ZSBjYW4gYmUgZGlmZmVyZW50IGZyb20gdGhlIHZv bHVtZSdzIHNpemUuIENvbW1pdCAzNjM3N2FjZgo+ICgiYmFja3VwOiBkaXNrIGluZm86IGFsc28g a2VlcCB0cmFjayBvZiBzaXplIikgaW50cm9kdWNlZCBzaXplCj4gdHJhY2tpbmcgYW5kIGl0IHdh cyB1c2VkIGZvciBmbGVlY2luZyBzaW5jZSB0aGVuLCBidXQgdGhlIGFjY3VyYXRlCj4gc2l6ZSBp bmZvcm1hdGlvbiBuZWVkcyB0byBiZSBxdWVyaWVkIHZpYSBRTVAuCj4gCj4gU2hvdWxkIGFsc28g aGVscCB3aXRoIHRoZSBmb2xsb3dpbmcgaXNzdWUgcmVwb3J0ZWQgaW4gdGhlIGNvbW11bml0eQo+ IGZvcnVtOgo+IGh0dHBzOi8vZm9ydW0ucHJveG1veC5jb20vdGhyZWFkcy8xNTIyMDIKPiAKPiBT aWduZWQtb2ZmLWJ5OiBGaW9uYSBFYm5lciA8Zi5lYm5lckBwcm94bW94LmNvbT4KPiAtLS0KPiAK PiBDaGFuZ2VzIGluIHYzOgo+ICogb25seSB1c2UgcXVlcnktYmxvY2sgUU1QIGNvbW1hbmQgYWZ0 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