[pve-devel] [PATCH storage] mark PBS storages as shared
f.ebner at proxmox.com
Wed Jan 27 13:57:36 CET 2021
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. The free space from PBS storages was counted once for each node
that had access to the storage.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
PVE/Storage/Plugin.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 57c58a9..d2d8184 100644
@@ -37,7 +37,9 @@ our @SHARED_STORAGE = (
our $MAX_VOLUMES_PER_GUEST = 1024;
More information about the pve-devel