[EMAIL PROTECTED] wrote on Tue, 11 Dec 2007 10:24 -0600:
> From a practical perspective, this seems to work, and an implementation 
> that has poll telling us that bytes are ready, but recv returning 
> EWOULDBLOCK because of anything other than small timing issues in the 
> kernel seems broken anyway.
>
> The alternative is to return the bytes received with the errno, and on 
> EAGAIN, we would have to add the operation back onto the op queue with a 
> state variable of how much was received.  The code is designed to avoid 
> doing this in the first place by polling until the bytes we need are ready, 
> so doing this would probably be messy.

Totally agree with your analysis and checkin.

                -- Pete
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to