[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7 01/14] libxl: Enhance libxl__sendmsg_fds to deal with EINTR and EWOULDBLOCK
Anthony PERARD writes ("Re: [PATCH v7 01/14] libxl: Enhance libxl__sendmsg_fds to deal with EINTR and EWOULDBLOCK"): > On Fri, Dec 21, 2018 at 02:30:05PM +0000, Ian Jackson wrote: > > Even with a blocking fd, sendmsg may in principle report a short > > write. (So the commit message should talk about short writes in > > general.) > > I have rewrite the commit message like this: > > This patch change the behavior of libxl__sendmsg_fds to retry sendmsg on > EINTR error and return an error on short writes. > > This patch allow a caller of libxl__sendmsg_fds to deal with EWOULDBLOCK > and short writes. The function now requires to send only 1 byte of data > so that when dealing with non-blocking fds a EWOULDBLOCK error would > mean that the fds haven't been sent yet. Current caller already send > only 1 byte. Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |