]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/RBDPlugin.pm
rbd: fix #4060 show data-pool usage when configured
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 18 May 2022 09:04:54 +0000 (11:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 20 May 2022 07:43:20 +0000 (09:43 +0200)
commite4671f734b55f999c92a3b8c251884fb640d9aa5
tree8e1a41df9c20b537e5eccc23b0ed81e6bc1a463f
parentab234cbb92d1947aac35330ded360138987d0123
rbd: fix #4060 show data-pool usage when configured

When a data-pool is configured, use it for status infos. The 'data-pool'
config option is used to mark the erasure coded pool while the 'pool'
will be the replicated pool holding meta data such as the omap.

This means, the 'pool' will only use a small amount of space and people
are interested how much they can store in the erasure coded pool anyway.

Therefore this patch reorders the assignment of the used pool name by
availability of the scfg parameters: data-pool -> pool -> fallback 'rbd'

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/Storage/RBDPlugin.pm