Re: [libvirt] [PATCH v2 4/8] virISCSIDirectReportLuns: Drop ClearVols

2019-03-15 Thread Pavel Hrdina
On Wed, Mar 06, 2019 at 03:59:14PM +0100, Michal Privoznik wrote: > 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

[libvirt] [PATCH v2 4/8] virISCSIDirectReportLuns: Drop ClearVols

2019-03-06 Thread Michal Privoznik
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