* chenliang (T) (chenlian...@huawei.com) wrote:
> 
> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com>
> 
> The return path uses a non-blocking fd so as not to block waiting for the 
> (possibly broken) destination to finish returning a message, however we still 
> want outbound data to behave in the same way and block.
> 
> Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
> 
> Hi David
>   It is confusing why don't use blocking fd?

I want to make sure that if the destination guest hung during
sending a return path command, that the source wouldn't block
the main thread (in which I'm currently processing the RP commands).

Paolo made a suggestion to move the RP processing to a separate
thread, which would also avoid the problem, and I'll be trying that.

Dave

> Best regards
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to