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 554511FF16E for ; Tue, 29 Oct 2024 17:16:25 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 089E9A2F6; Tue, 29 Oct 2024 17:16:28 +0100 (CET) Mime-Version: 1.0 Date: Tue, 29 Oct 2024 17:15:54 +0100 Message-Id: From: "Hannes Laimer" To: "Proxmox Backup Server development discussion" X-Mailer: aerc 0.18.2-63-gf2d413e8dedd References: <20240904141155.350454-1-h.laimer@proxmox.com> <20240904141155.350454-14-h.laimer@proxmox.com> <1728912293.ncf0deqn2s.astroid@yuna.none> In-Reply-To: <1728912293.ncf0deqn2s.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.381 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_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, datastore.rs] Subject: Re: [pbs-devel] [PATCH proxmox-backup v12 13/26] datastore: handle deletion of removable datastore properly 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" T24gTW9uIE9jdCAxNCwgMjAyNCBhdCAzOjQyIFBNIENFU1QsIEZhYmlhbiBHcsO8bmJpY2hsZXIg d3JvdGU6Cj4gT24gU2VwdGVtYmVyIDQsIDIwMjQgNDoxMSBwbSwgSGFubmVzIExhaW1lciB3cm90 ZToKPiA+IFNpZ25lZC1vZmYtYnk6IEhhbm5lcyBMYWltZXIgPGgubGFpbWVyQHByb3htb3guY29t Pgo+ID4gLS0tCj4gPiAgcGJzLWRhdGFzdG9yZS9zcmMvZGF0YXN0b3JlLnJzIHwgIDQgKysrLQo+ ID4gIHNyYy9hcGkyL2NvbmZpZy9kYXRhc3RvcmUucnMgICB8IDMyICsrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrCj4gPiAgMiBmaWxlcyBjaGFuZ2VkLCAzNSBpbnNlcnRpb25zKCspLCAx IGRlbGV0aW9uKC0pCj4gPiAKPiA+IGRpZmYgLS1naXQgYS9wYnMtZGF0YXN0b3JlL3NyYy9kYXRh c3RvcmUucnMgYi9wYnMtZGF0YXN0b3JlL3NyYy9kYXRhc3RvcmUucnMKPiA+IGluZGV4IDI5Zjk4 YjM3Li5kZjAzOGQ2MiAxMDA2NDQKPiA+IC0tLSBhL3Bicy1kYXRhc3RvcmUvc3JjL2RhdGFzdG9y ZS5ycwo+ID4gKysrIGIvcGJzLWRhdGFzdG9yZS9zcmMvZGF0YXN0b3JlLnJzCj4gPiBAQCAtMTUx MCw3ICsxNTEwLDkgQEAgaW1wbCBEYXRhU3RvcmUgewo+ID4gICAgICAgICAgICAgICAgICAgICAg ICAgIC8vIHdlaXJkLCBidXQgb2sKPiA+ICAgICAgICAgICAgICAgICAgICAgIH0KPiA+ICAgICAg ICAgICAgICAgICAgICAgIEVycihlcnIpIGlmIGVyci5pc19lcnJubyhuaXg6OmVycm5vOjpFcnJu bzo6RUJVU1kpID0+IHsKPiA+IC0gICAgICAgICAgICAgICAgICAgICAgICB3YXJuISgiQ2Fubm90 IGRlbGV0ZSBkYXRhc3RvcmUgZGlyZWN0b3J5IChpcyBpdCBhIG1vdW50IHBvaW50PykuIikKPiA+ ICsgICAgICAgICAgICAgICAgICAgICAgICBpZiBkYXRhc3RvcmVfY29uZmlnLmJhY2tpbmdfZGV2 aWNlLmlzX25vbmUoKSB7Cj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdhcm4hKCJD YW5ub3QgZGVsZXRlIGRhdGFzdG9yZSBkaXJlY3RvcnkgKGlzIGl0IGEgbW91bnQgcG9pbnQ/KS4i KQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgIH0KPiA+ICAgICAgICAgICAgICAgICAgICAg IH0KPiA+ICAgICAgICAgICAgICAgICAgICAgIEVycihlcnIpIGlmIGVyci5pc19lcnJubyhuaXg6 OmVycm5vOjpFcnJubzo6RU5PVEVNUFRZKSA9PiB7Cj4gPiAgICAgICAgICAgICAgICAgICAgICAg ICAgd2FybiEoIkRhdGFzdG9yZSBkaXJlY3Rvcnkgbm90IGVtcHR5LCBub3QgZGVsZXRpbmcuIikK PiA+IGRpZmYgLS1naXQgYS9zcmMvYXBpMi9jb25maWcvZGF0YXN0b3JlLnJzIGIvc3JjL2FwaTIv Y29uZmlnL2RhdGFzdG9yZS5ycwo+ID4gaW5kZXggYzI0YjZlOWQuLmM3ZDU5YzQ0IDEwMDY0NAo+ ID4gLS0tIGEvc3JjL2FwaTIvY29uZmlnL2RhdGFzdG9yZS5ycwo+ID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 IAo+Cj4KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+ IHBicy1kZXZlbCBtYWlsaW5nIGxpc3QKPiBwYnMtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KPiBo dHRwczovL2xpc3RzLnByb3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2 ZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcGJz LWRldmVsIG1haWxpbmcgbGlzdApwYnMtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KaHR0cHM6Ly9s aXN0cy5wcm94bW94LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vcGJzLWRldmVsCg==