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

Peter Krempa pkrempa at redhat.com
Tue Oct 13 12:32:06 UTC 2015

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 at redhat.com>
> ---
>  src/storage/storage_backend_logical.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Definitely better than the previous version.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151013/bd64ce75/attachment-0001.sig>

More information about the libvir-list mailing list