From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 0D33B1FF15E for ; Mon, 24 Nov 2025 18:04:53 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C1B222D88; Mon, 24 Nov 2025 18:05:03 +0100 (CET) From: Samuel Rufinatscha To: pbs-devel@lists.proxmox.com Date: Mon, 24 Nov 2025 18:04:20 +0100 Message-ID: <20251124170423.303300-4-s.rufinatscha@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251124170423.303300-1-s.rufinatscha@proxmox.com> References: <20251124170423.303300-1-s.rufinatscha@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764003833627 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.300 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: [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" VGhlIERyb3AgaW1wbCBvZiBEYXRhU3RvcmUgcmUtcmVhZCBkYXRhc3RvcmUuY2ZnIHRvIGRlY2lk ZSB3aGV0aGVyCnRoZSBlbnRyeSBzaG91bGQgYmUgZXZpY3RlZCBmcm9tIHRoZSBpbi1wcm9jZXNz IGNhY2hlIChiYXNlZCBvbgptYWludGVuYW5jZSBtb2Rl4oCZcyBjbGVhcl9mcm9tX2NhY2hlKS4g RHVyaW5nIHRoZSBpbnZlc3RpZ2F0aW9uIG9mCmlzc3VlICM2MDQ5IFsxXSwgYSBmbGFtZWdyYXBo IFsyXSBzaG93ZWQgdGhhdCB0aGUgY29uZmlnIHJlbG9hZCBpbiBEcm9wCmFjY291bnRlZCBmb3Ig YSBtZWFzdXJhYmxlIHNoYXJlIG9mIENQVSB0aW1lIHVuZGVyIGxvYWQuCgpUaGlzIHBhdGNoIHdp cmVzIHRoZSBkYXRhc3RvcmUgY29uZmlnIGZhc3QgcGF0aCB0byB0aGUgRHJvcAppbXBsIHRvIGV2 ZW50dWFsbHkgYXZvaWQgYW4gZXhwZW5zaXZlIGNvbmZpZyByZWxvYWQgZnJvbSBkaXNrIHRvIGNh cHR1cmUKdGhlIG1haW50ZW5hbmNlIG1hbmRhdGUuIEFsc28sIHRvIGVuc3VyZSB0aGUgRHJvcCBo YW5kbGVycyB3aWxsIGRldGVjdAp0aGF0IGEgbmV3ZXIgY29uZmlnIGV4aXN0cyAvIHRvIG1pdGln YXRlIHVzYWdlIG9mIGFuIGV2ZW50dWFsbHkgc3RhbGUKY2FjaGVkIGVudHJ5LCBnZW5lcmF0aW9u IHdpbGwgbm90IG9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gICAgICAgaWYgIWxhc3RfdGFzayB7Cisg ICAgICAgICAgICAgICAgcmV0dXJuOworICAgICAgICAgICAgfQorCisgICAgICAgICAgICBsZXQg KHNlY3Rpb25fY29uZmlnLCBfZ2VuKSA9IG1hdGNoIGRhdGFzdG9yZV9zZWN0aW9uX2NvbmZpZ19j YWNoZWQoZmFsc2UpIHsKKyAgICAgICAgICAgICAgICBPayh2KSA9PiB2LAorICAgICAgICAgICAg ICAgIEVycihlcnIpID0+IHsKKyAgICAgICAgICAgICAgICAgICAgbG9nOjplcnJvciEoCisgICAg ICAgICAgICAgICAgICAgICAgICAiZmFpbGVkIHRvIGxvYWQgZGF0YXN0b3JlIGNvbmZpZyBpbiBE cm9wIGZvciB7fSAtIHtlcnJ9IiwKKyAgICAgICAgICAgICAgICAgICAgICAgIHNlbGYubmFtZSgp CisgICAgICAgICAgICAgICAgICAgICk7CisgICAgICAgICAgICAgICAgICAgIHJldHVybjsKKyAg ICAgICAgICAgICAgICB9CisgICAgICAgICAgICB9OworCisgICAgICAgICAgICBsZXQgZGF0YXN0 b3JlX2NmZzogRGF0YVN0b3JlQ29uZmlnID0KKyAgICAgICAgICAgICAgICBtYXRjaCBzZWN0aW9u X2NvbmZpZy5sb29rdXAoImRhdGFzdG9yZSIsIHNlbGYubmFtZSgpKSB7CisgICAgICAgICAgICAg ICAgICAgIE9rKGNmZykgPT4gY2ZnLAorICAgICAgICAgICAgICAgICAgICBFcnIoZXJyKSA9PiB7 CisgICAgICAgICAgICAgICAgICAgICAgICBsb2c6OmVycm9yISgKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAiZmFpbGVkIHRvIGxvb2sgdXAgZGF0YXN0b3JlICd7fScgaW4gRHJvcCAtIHtl cnJ9IiwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxmLm5hbWUoKQorICAgICAgICAg ICAgICAgICAgICAgICAgKTsKKyAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybjsKKyAgICAg ICAgICAgICAg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AgICAgICAgIGxldCBwcmV2X2dl biA9IHZlcnNpb25fY2FjaGUuaW5jcmVhc2VfZGF0YXN0b3JlX2dlbmVyYXRpb24oKTsKKyAgICAg ICAgICAgIGVmZmVjdGl2ZV9nZW4gPSBwcmV2X2dlbiArIDE7CisKKyAgICAgICAgICAgIC8vIFBl cnNpc3QKICAgICAgICAgICAgICpjb25maWdfY2FjaGUgPSBTb21lKERhdGFzdG9yZUNvbmZpZ0Nh Y2hlIHsKICAgICAgICAgICAgICAgICBjb25maWc6IGNvbmZpZy5jbG9uZSgpLAotICAgICAgICAg ICAgICAgIGxhc3RfZ2VuZXJhdGlvbjogY3VycmVudF9nZW4sCisgICAgICAgICAgICAgICAgbGFz dF9nZW5lcmF0aW9uOiBlZmZlY3RpdmVfZ2VuLAogICAgICAgICAgICAgfSk7CiAgICAgICAgIH0K IAotICAgICAgICBPaygoY29uZmlnLCBTb21lKGN1cnJlbnRfZ2VuKSkpCisgICAgICAgIE9rKChj b25maWcsIFNvbWUoZWZmZWN0aXZlX2dlbikpKQogICAgIH0gZWxzZSB7CiAgICAgICAgIC8vIEZh bGxiYWNrIHBhdGgsIG5vIGNvbmZpZyB2ZXJzaW9uIGNhY2hlOiByZWFkIGRhdGFzdG9yZS5jZmcg YW5kIHJldHVybiBOb25lIGFzIGdlbmVyYXRpb24KICAgICAgICAgKmNvbmZpZ19jYWNoZSA9IE5v bmU7Ci0tIAoyLjQ3LjMKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX18KcGJzLWRldmVsIG1haWxpbmcgbGlzdApwYnMtZGV2ZWxAbGlzdHMucHJveG1veC5j b20KaHR0cHM6Ly9saXN0cy5wcm94bW94LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vcGJz LWRldmVsCg==