From 5fd5c30db76a5d198c03e635f59613cd0fd19773 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 5 Oct 2016 15:32:38 +0200 Subject: [PATCH] do not get smart data for ceph disk list on the ceph disks call, we do not need the smart data, so set the nosmart flag Signed-off-by: Dominik Csapak --- PVE/API2/Ceph.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 58451740..7a19810d 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -577,7 +577,7 @@ __PACKAGE__->register_method ({ PVE::CephTools::check_ceph_inited(); - my $disks = PVE::Diskmanage::get_disks(); + my $disks = PVE::Diskmanage::get_disks(undef, 1); my $res = []; foreach my $dev (keys %$disks) {