]> git.proxmox.com Git - qemu-server.git/commit
Fix #1650: add content type filter to rescan
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 3 Jul 2018 15:41:09 +0000 (17:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 Jul 2018 06:35:06 +0000 (08:35 +0200)
commit4771526af1d8b324f9dbf101026f975c7a1a2a55
tree88750b287cb4fbd769c0500c62651e5e73fdc7c1
parent51179fe3e9447d83769980593d1d75173c9a8554
Fix #1650: add content type filter to rescan

Unused disk(s) appeared after a rescan of storages. Especially shown
with ceph pools, where two storage entries are made, <storage>_ct and
<storage>_vm. The rescan method did include images from both storages.

This patch filters any storage not containing the content type 'images'.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
PVE/QemuServer.pm