[pve-devel] applied-series: [PATCH v2 storage 1/2] RBD plugin: librados connect: pass along options

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Sep 13 09:59:01 CEST 2022


thanks!

On September 2, 2022 9:33 am, Fiona Ebner wrote:
> In preparation to increase the timeout for workers. Both existing
> callers of librados_connect() don't currently use the parameter.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> 
> No changes from v1.
> 
>  PVE/Storage/RBDPlugin.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
> index eeeaf3f..0d6f596 100644
> --- a/PVE/Storage/RBDPlugin.pm
> +++ b/PVE/Storage/RBDPlugin.pm
> @@ -27,7 +27,7 @@ my $get_parent_image_name = sub {
>  my $librados_connect = sub {
>      my ($scfg, $storeid, $options) = @_;
>  
> -    my $librados_config = PVE::CephConfig::ceph_connect_option($scfg, $storeid);
> +    my $librados_config = PVE::CephConfig::ceph_connect_option($scfg, $storeid, $options->%*);
>  
>      my $rados = PVE::RADOS->new(%$librados_config);
>  
> -- 
> 2.30.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 





More information about the pve-devel mailing list