[Libguestfs] [PATCH libnbd v2 0/6] Test connection states.

Eric Blake eblake at redhat.com
Wed May 22 13:12:44 UTC 2019


On 5/22/19 4:50 AM, Richard W.M. Jones wrote:
> Patch 1/6 was posted before and I didn't change it:
> 
>   https://www.redhat.com/archives/libguestfs/2019-May/thread.html#00134
> 
> That doesn't necessarily mean I shouldn't change it, I'm posting
> it again because the other patches depend on it.
> 
> The main change in this series is we add three new API functions:
> 
> nbd_aio_is_created    - connection has just been created
> nbd_aio_is_connecting - is connecting or handshaking / option negotiation
> nbd_aio_is_processing - is issuing or receiving a reply
> 
> Also in this change I used nbd_aio_is_connecting to simplify the
> handling of synchronous connects.

Series LGTM

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190522/64114bd6/attachment.sig>


More information about the Libguestfs mailing list