[pve-devel] [PATCH manager 1/3] do not get smart data for ceph disk list

Dominik Csapak d.csapak at proxmox.com
Wed Oct 5 15:32:38 CEST 2016


on the ceph disks call, we do not need the smart
data, so set the nosmart flag

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 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 5845174..7a19810 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) {
-- 
2.1.4





More information about the pve-devel mailing list