[pve-devel] applied: Re: [PATCH v2 storage] rbd: fix #4060 show data-pool usage when configured

Thomas Lamprecht t.lamprecht at proxmox.com
Fri May 20 09:43:43 CEST 2022


On 18/05/2022 11:04, Aaron Lauterer wrote:
> 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 at proxmox.com>
> ---
> changes: instead of two lines and if conditions, use the // parameter
> multiple times
> 
>  PVE/Storage/RBDPlugin.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list