Re: [PATCH v3] Add macro for handling exponential backoff loops.

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

 



On Sat, Apr 09, 2016 at 08:39:57PM +0100, Richard W.M. Jones wrote:
> v2 was here:
> https://www.redhat.com/archives/libvir-list/2016-April/thread.html#00355
> 
> v2->v3:
> 
>  - Rename virTimeBackOffInit -> Start.
> 
>  - virTimeBackOffStart now returns an error indication.
> 
>  - Remove var->first and var->timeout fields from struct.
> 
>  - Change var->limit field name to limit_t.
> 
>  - Remove '- 2' fudge factor.
> 
>  - virTimeBackOffCondition returns bool instead of int.
> 
> I didn't remove the macro hiding the 'while' keyword because I prefer
> the current user interface.
> 
> I retested this against current libguestfs.

Any objections or other comments on this patch?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

--
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]