Re: [PATCH 04/12] storage: Track successful creation of LV for removal

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

 



On Fri, Oct 09, 2015 at 09:34:03 -0400, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1233003
> 
> Track when the logical volume was successfully created in order to
> properly handle the call to virStorageBackendLogicalDeleteVol. It's
> possible that the failure to create was because someone created an
> LV in the pool outside of libvirt's knowledge. In this case, we don't
> want to delete that LV.  A subsequent or future refresh of the pool
> will find the volume and cause an earlier failure
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/storage/storage_backend_logical.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Definitely better than the previous version.

ACK,

Peter

Attachment: signature.asc
Description: Digital 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]