Re: [libvirt] [PATCH v2 7/8] storagePoolRefreshFailCleanup: Clear volumes on failed refresh

2019-03-15 Thread Pavel Hrdina
On Wed, Mar 06, 2019 at 03:59:17PM +0100, Michal Privoznik wrote: > If pool refresh failed, then the internal table of volumes is > probably left in inconsistent or incomplete state anyways. Clear > it out then. This has an advantage that we can move the > virStoragePoolObjClearVols() from those

[libvirt] [PATCH v2 7/8] storagePoolRefreshFailCleanup: Clear volumes on failed refresh

2019-03-06 Thread Michal Privoznik
If pool refresh failed, then the internal table of volumes is probably left in inconsistent or incomplete state anyways. Clear it out then. This has an advantage that we can move the virStoragePoolObjClearVols() from those very few backends that do call it. Signed-off-by: Michal Privoznik ---