]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
Diskmanage: allow get_disks to take multiple disks
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 4 Jun 2019 10:35:22 +0000 (12:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Jun 2019 10:51:44 +0000 (12:51 +0200)
commit52a064afcd47f559d90166627f794f681a2e4cbd
treeaffe18d77d000f4d6c81a4889a9bc5cde301fa6a
parent558d412d10dd9862f109ee0eb3781e1d7b241eff
Diskmanage: allow get_disks to take multiple disks

we now expect the first parameter to be either a string with a single
disk, or an array ref with a list of disks

this way we can get the info of multiple disks simultaneously while
not iterating over all disks

this will be used to get the info for osd/db/wal disk

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm