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 D23B31FF15E for ; Mon, 24 Nov 2025 16:33:55 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C0EAE55C; Mon, 24 Nov 2025 16:34:06 +0100 (CET) From: Samuel Rufinatscha To: pbs-devel@lists.proxmox.com Date: Mon, 24 Nov 2025 16:33:20 +0100 Message-ID: <20251124153328.239666-4-s.rufinatscha@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251124153328.239666-1-s.rufinatscha@proxmox.com> References: <20251124153328.239666-1-s.rufinatscha@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763998378411 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.280 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 v4 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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mVhZi4uOTQyNjU2ZTYgMTAwNjQ0Ci0tLSBhL3Bicy1kYXRhc3RvcmUvc3JjL2RhdGFzdG9y ZS5ycworKysgYi9wYnMtZGF0YXN0b3JlL3NyYy9kYXRhc3RvcmUucnMKQEAgLTIxNiwxNSArMjE2 LDQwIEBAIGltcGwgRHJvcCBmb3IgRGF0YVN0b3JlIHsKICAgICAgICAgICAgIC8vIHJlbW92ZSBk YXRhc3RvcmUgZnJvbSBjYWNoZSBpZmYKICAgICAgICAgICAgIC8vICAtIGxhc3QgdGFzayBmaW5p c2hlZCwgYW5kCiAgICAgICAgICAgICAvLyAgLSBkYXRhc3RvcmUgaXMgaW4gYSBtYWludGVuYW5j ZSBtb2RlIHRoYXQgbWFuZGF0ZXMgaXQKLSAgICAgICAgICAgIGxldCByZW1vdmVfZnJvbV9jYWNo ZSA9IGxhc3RfdGFzawotICAgICAgICAgICAgICAgICYmIHBic19jb25maWc6OmRhdGFzdG9yZTo6 Y29uZmlnKCkKLSAgICAgICAgICAgICAgICAgICAgLmFuZF90aGVuKHwocywgXyl8IHMubG9va3Vw Ojo8RGF0YVN0b3JlQ29uZmlnPigiZGF0YXN0b3JlIiwgc2VsZi5uYW1lKCkpKQotICAgICAgICAg ICAgICAgICAgICAuaXNfb2tfYW5kKHxjfCB7Ci0gICAgICAgICAgICAgICAgICAgICAgICBjLmdl dF9tYWludGVuYW5jZV9tb2RlKCkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAuaXNfc29t ZV9hbmQofG18IG0uY2xlYXJfZnJvbV9jYWNoZSgpKQotICAgICAgICAgICAgICAgICAgICB9KTsK LQotICAgICAgICAgICAgaWYgcmVtb3ZlX2Zyb21fY2FjaGUgeworCisgICAgICAgICAgICAvLyBm aXJzdCBjaGVjazogY2hlY2sgaWYgbGFzdCB0YXNrIGZpbmlzaGVkCisgICAgICAgICAgICBpZiAh bGFzdF90YXNrIHsKKyAgICAgICAgICAgICAgICByZXR1cm47CisgICAgICAgICAgICB9CisKKyAg ICAgICAgICAgIGxldCAoc2VjdGlvbl9jb25maWcsIF9nZW4pID0gbWF0Y2ggZGF0YXN0b3JlX3Nl Y3Rpb25fY29uZmlnX2NhY2hlZChmYWxzZSkgeworICAgICAgICAgICAgICAgIE9rKHYpID0+IHYs CisgICAgICAgICAgICAgICAgRXJyKGVycikgPT4geworICAgICAgICAgICAgICAgICAgICBsb2c6 OmVycm9yISgKKyAgICAgICAgICAgICAgICAgICAgICAgICJmYWlsZWQgdG8gbG9hZCBkYXRhc3Rv cmUgY29uZmlnIGluIERyb3AgZm9yIHt9IC0ge2Vycn0iLAorICAgICAgICAgICAgICAgICAgICAg ICAgc2VsZi5uYW1lKCkKKyAgICAgICAgICAgICAgICAgICAgKTsKKyAgICAgICAgICAgICAgICAg ICAgcmV0dXJuOworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgIH07CisKKyAgICAgICAg ICAgIGxldCBkYXRhc3RvcmVfY2ZnOiBEYXRhU3RvcmVDb25maWcgPQorICAgICAgICAgICAgICAg IG1hdGNoIHNlY3Rpb25fY29uZmlnLmxvb2t1cCgiZGF0YXN0b3JlIiwgc2VsZi5uYW1lKCkpIHsK KyAgICAgICAgICAgICAgICAgICAgT2soY2ZnKSA9PiBjZmcsCisgICAgICAgICAgICAgICAgICAg IEVycihlcnIpID0+IHsKKyAgICAgICAgICAgICAgICAgICAgICAgIGxvZzo6ZXJyb3IhKAorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICJmYWlsZWQgdG8gbG9vayB1cCBkYXRhc3RvcmUgJ3t9 JyBpbiBEcm9wIC0ge2Vycn0iLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlbGYubmFt ZSgpCisgICAgICAgICAgICAgICAgICAgICAgICApOworICAgICAgICAgICAgICAgICAgICAgICAg cmV0dXJuOworICAgICAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAgfTsKKworICAg ICAgICAgICAgLy8gc2Vjb25kIGNoZWNrOiBjaGVjayBtYW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AgICAgICAgICBlZmZlY3RpdmVfZ2VuID0gcHJldl9nZW4gKyAxOworCisgICAgICAgICAg ICAvLyBQZXJzaXN0CiAgICAgICAgICAgICAqY29uZmlnX2NhY2hlID0gU29tZShEYXRhc3RvcmVD b25maWdDYWNoZSB7CiAgICAgICAgICAgICAgICAgY29uZmlnOiBjb25maWcuY2xvbmUoKSwKLSAg ICAgICAgICAgICAgICBsYXN0X2dlbmVyYXRpb246IGN1cnJlbnRfZ2VuLAorICAgICAgICAgICAg ICAgIGxhc3RfZ2VuZXJhdGlvbjogZWZmZWN0aXZlX2dlbiwKICAgICAgICAgICAgIH0pOwogICAg ICAgICB9CiAKLSAgICAgICAgT2soKGNvbmZpZywgU29tZShjdXJyZW50X2dlbikpKQorICAgICAg ICBPaygoY29uZmlnLCBTb21lKGVmZmVjdGl2ZV9nZW4pKSkKICAgICB9IGVsc2UgewogICAgICAg ICAvLyBGYWxsYmFjayBwYXRoLCBubyBjb25maWcgdmVyc2lvbiBjYWNoZTogcmVhZCBkYXRhc3Rv cmUuY2ZnIGFuZCByZXR1cm4gTm9uZSBhcyBnZW5lcmF0aW9uCiAgICAgICAgICpjb25maWdfY2Fj aGUgPSBOb25lOwotLSAKMi40Ny4zCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fCnBicy1kZXZlbCBtYWlsaW5nIGxpc3QKcGJzLWRldmVsQGxpc3RzLnBy b3htb3guY29tCmh0dHBzOi8vbGlzdHMucHJveG1veC5jb20vY2dpLWJpbi9tYWlsbWFuL2xpc3Rp bmZvL3Bicy1kZXZlbAo=