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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 very few backends that
> do call it.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/storage/storage_backend_gluster.c |  2 --
>  src/storage/storage_backend_logical.c | 12 +++---------
>  src/storage/storage_backend_rbd.c     |  4 +---
>  src/storage/storage_driver.c          |  2 ++
>  src/storage/storage_util.c            |  2 --
>  5 files changed, 6 insertions(+), 16 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux