]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virISCSIDirectReportLuns: Drop ClearVols
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 28 Feb 2019 16:43:57 +0000 (17:43 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 16 Mar 2019 06:50:51 +0000 (07:50 +0100)
commitf8aecea77903aa1fbed8b5ca22bc82086d4ece1f
treec4f6e8155ffa386220c8d0bac06fd8d6c03566dc
parent9bf194c23f35712b02b9b7b367aba2b6161eebaf
virISCSIDirectReportLuns: Drop ClearVols

In bf5cf610f206d5d54 I've fixed a problem where iscsi-direct
backend was reporting only the last LUN. The fix consisted of
moving virStoragePoolObjClearVols() one level up. However, as it
turns out, storage driver already calls it before calling
refreshPool callback (which is
virStorageBackendISCSIDirectRefreshPool() in this case).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/storage/storage_backend_iscsi_direct.c