]> git.proxmox.com Git - pve-storage.git/commitdiff
RBD plugin: librados connect: pass along options
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 2 Sep 2022 07:33:06 +0000 (09:33 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 13 Sep 2022 07:57:19 +0000 (09:57 +0200)
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@proxmox.com>
PVE/Storage/RBDPlugin.pm

index d76f93094f2ab63513e098c4c538c6909cbe7df3..aaacb17cab7b8a2478e6e9e37a2ee15dd2ba0a18 100644 (file)
@@ -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);