Re: sendfile and EAGAIN

From: Ulrich Drepper
Date: Sat Mar 02 2013 - 22:16:51 EST


On Sat, Mar 2, 2013 at 10:09 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
>
> Using non blocking IO means the sender (and the receiver) must be able
> to perform several operations, as long as the whole transfert is not
> finished.

Certainly, and this is implemented. But the receiver never gets the
rest of the data while the sender (most of the time) gets notified
that everything is sent.

I don't have a reduced test case yet. Hopefully I'll get to it
sometime soon. For now I worked around it by not using sendfile.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/