]> git.proxmox.com Git - pve-storage.git/commit
disks: allow get_disks without smart checks
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 3 Oct 2016 11:53:33 +0000 (13:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Oct 2016 08:33:49 +0000 (10:33 +0200)
commit7a98a62dbc418b212f4e72f091d78dc2c179488f
treeef6a8015fdfa4b4e075411c2215092714392464e
parent5c7f46c83763a1f94bc3916791c4cc5cebe9d2ac
disks: allow get_disks without smart checks

the smart checks are only needed for the API call(s) that
list all disks and their status, but get_disks is also used
in disk usage checks and in the Ceph code, where the smart
status is completely irrelevant.

drop the implicit skipping of smart checks if $disk is set,
since we have an explicit parameter for this now.
PVE/Diskmanage.pm