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 43D141FF179 for ; Wed, 26 Nov 2025 16:16:15 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8BAC5FD8E; Wed, 26 Nov 2025 16:16:27 +0100 (CET) Date: Wed, 26 Nov 2025 16:15:50 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20251124170423.303300-1-s.rufinatscha@proxmox.com> <20251124170423.303300-4-s.rufinatscha@proxmox.com> In-Reply-To: <20251124170423.303300-4-s.rufinatscha@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.17.0 (https://github.com/astroidmail/astroid) Message-Id: <1764167584.qinchnekm5.astroid@yuna.none> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764170117595 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox-backup v5 3/4] partial fix #6049: datastore: use config fast-path in Drop X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" T24gTm92ZW1iZXIgMjQsIDIwMjUgNjowNCBwbSwgU2Ft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gc2hvdWxkIGJlIGRvbmUuLgoKPiAtCj4gLSAgICAg ICAgICAgIGlmIHJlbW92ZV9mcm9tX2NhY2hlIHsKPiArCj4gKyAgICAgICAgICAgIC8vIGZpcnN0 IGNoZWNrOiBjaGVjayBpZiBsYXN0IHRhc2sgZmluaXNoZWQKPiArICAgICAgICAgICAgaWYgIWxh c3RfdGFzayB7Cj4gKyAgICAgICAgICAgICAgICByZXR1cm47Cj4gKyAgICAgICAgICAgIH0KPiAr Cj4gKyAgICAgICAgICAgIGxldCAoc2VjdGlvbl9jb25maWcsIF9nZW4pID0gbWF0Y2ggZGF0YXN0 b3JlX3NlY3Rpb25fY29uZmlnX2NhY2hlZChmYWxzZSkgewo+ICsgICAgICAgICAgICAgICAgT2so dikgPT4gdiwKPiArICAgICAgICAgICAgICAgIEVycihlcnIpID0+IHsKPiArICAgICAgICAgICAg ICAgICAgICBsb2c6OmVycm9yISgKPiArICAgICAgICAgICAgICAgICAgICAgICAgImZhaWxlZCB0 byBsb2FkIGRhdGFzdG9yZSBjb25maWcgaW4gRHJvcCBmb3Ige30gLSB7ZXJyfSIsCj4gKyAgICAg ICAgICAgICAgICAgICAgICAgIHNlbGYubmFtZSgpCj4gKyAgICAgICAgICAgICAgICAgICAgKTsK PiArICAgICAgICAgICAgICAgICAgICByZXR1cm47Cj4gKyAgICAgICAgICAgICAgICB9Cj4gKyAg ICAgICAgICAgIH07Cj4gKwo+ICsgICAgICAgICAgICBsZXQgZGF0YXN0b3JlX2NmZzogRGF0YVN0 b3JlQ29uZmlnID0KPiArICAgICAgICAgICAgICAgIG1hdGNoIHNlY3Rpb25fY29uZmlnLmxvb2t1 cCgiZGF0YXN0b3JlIiwgc2VsZi5uYW1lKCkpIHsKPiArICAgICAgICAgICAgICAgICAgICBPayhj ZmcpID0+IGNmZywKPiArICAgICAgICAgICAgICAgICAgICBFcnIoZXJyKSA9PiB7Cj4gKyAgICAg ICAgICAgICAgICAgICAgICAgIGxvZzo6ZXJyb3IhKAo+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lKCks Cj4gLSAgICAgICAgICAgICAgICBsYXN0X2dlbmVyYXRpb246IGN1cnJlbnRfZ2VuLAo+ICsgICAg ICAgICAgICAgICAgbGFzdF9nZW5lcmF0aW9uOiBlZmZlY3RpdmVfZ2VuLAo+ICAgICAgICAgICAg ICB9KTsKPiAgICAgICAgICB9Cj4gIAo+IC0gICAgICAgIE9rKChjb25maWcsIFNvbWUoY3VycmVu dF9nZW4pKSkKPiArICAgICAgICBPaygoY29uZmlnLCBTb21lKGVmZmVjdGl2ZV9nZW4pKSkKPiAg ICAgIH0gZWxzZSB7Cj4gICAgICAgICAgLy8gRmFsbGJhY2sgcGF0aCwgbm8gY29uZmlnIHZlcnNp b24gY2FjaGU6IHJlYWQgZGF0YXN0b3JlLmNmZyBhbmQgcmV0dXJuIE5vbmUgYXMgZ2VuZXJhdGlv bgo+ICAgICAgICAgICpjb25maWdfY2FjaGUgPSBOb25lOwo+IC0tIAo+IDIuNDcuMwo+IAo+IAo+ IAo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gcGJz LWRldmVsIG1haWxpbmcgbGlzdAo+IHBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQo+IGh0dHBz Oi8vbGlzdHMucHJveG1veC5jb20vY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3Bicy1kZXZlbAo+ IAoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCnBicy1k ZXZlbCBtYWlsaW5nIGxpc3QKcGJzLWRldmVsQGxpc3RzLnByb3htb3guY29tCmh0dHBzOi8vbGlz dHMucHJveG1veC5jb20vY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3Bicy1kZXZlbAo=