Thread (1 message) 1 message, 1 author, 2012-08-16

RE: [PATCH] librdmacm/rsockets: Support MSG_WAITALL with rsockets recv()

From: Sridhar Samudrala <hidden>
Date: 2012-08-16 16:20:23

Possibly related (same subject, not in this thread)

On Thu, 2012-08-16 at 14:59 +0000, Hefty, Sean wrote:
quoted
Support MSG_WAITALL flag with recv() when using rsockets.

Signed-off-by: Sridhar Samudrala <sri-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
I started working on a patch for MSG_WAITALL a few weeks ago, but set it aside.  The problem I hit into was trying to handle MSG_PEEK at the same time.  This complicated the patch quite a bit.
MSG_PEEK is one of the conditions when recv() with MSG_WAITALL can return with
fewer bytes than requested. So i think we don't need to wait for all the data
when MSG_PEEK is also set.
   http://pubs.opengroup.org/onlinepubs/007904975/functions/recv.html

Thanks
Sridhar



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help