From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0EC436C013 for ; Thu, 28 Jan 2021 16:44:07 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id EF8432F5DE for ; Thu, 28 Jan 2021 16:43:36 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 5F5B02F5CE for ; Thu, 28 Jan 2021 16:43:35 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 2F9704614B for ; Thu, 28 Jan 2021 16:43:35 +0100 (CET) To: Proxmox VE development discussion , Fabian Ebner References: <20210127125736.11589-1-f.ebner@proxmox.com> From: Thomas Lamprecht Message-ID: <0585b2aa-d427-dcd4-d806-6a2d1d980cb6@proxmox.com> Date: Thu, 28 Jan 2021 16:43:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: <20210127125736.11589-1-f.ebner@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.064 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust 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, plugin.pm] Subject: [pve-devel] applied: [PATCH storage] mark PBS storages as shared 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: , X-List-Received-Date: Thu, 28 Jan 2021 15:44:07 -0000 On 27.01.21 13:57, Fabian Ebner wrote: > Like this, the property will get added when parsing the storage configuration > and PBS storages will correctly show up as shared storages in API results. > > AFAICT the only affected PBS operation is free_image via vdisk_free, which will > now be protected by a cluster-wide lock, and that shouldn't hurt. > > Another issue this fixes, which is the reason this patch exists, was reported > in the forum[0]. The free space from PBS storages was counted once for each node > that had access to the storage. > > [0]: https://forum.proxmox.com/threads/pve-6-3-the-storage-size-was-displayed-incorrectly.83136/ > > Signed-off-by: Fabian Ebner > --- > PVE/Storage/Plugin.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > applied, thanks!