[libvirt] [PATCH 09/10] Fix busy-wait loop on closed file descriptor

Eric Blake eblake at redhat.com
Mon Nov 1 21:58:06 UTC 2010


On 11/01/2010 10:12 AM, Daniel P. Berrange wrote:
> When closing open streams after a client quits, the event
> callback was not removed. This mean that poll() was using
> a closed FD and returning POLLNVAL in a busy-wait loop.
> 
> * daemon/stream.c: Disconnect stream callbacks
> ---
>  daemon/stream.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101101/46e0b9ce/attachment-0001.sig>


More information about the libvir-list mailing list