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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-10-05 15:32:38 +02:00 committed by Dietmar Maurer
parent 9e9ab96f6d
commit 5fd5c30db7

View File

@ -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) {