Re: sendfile and EAGAIN

From: Ulrich Drepper
Date: Mon Mar 04 2013 - 19:12:19 EST


On Mon, Mar 4, 2013 at 5:28 AM, Eric Wong <normalperson@xxxxxxxx> wrote:
> If you manage to reproduce it, can you pass an offset to sendfile() and
> see if the offset changed when you get EAGAIN?

I did that and didn't see the offset to change.


> Also, which kernel version are you using? Perhaps it's triggered
> by memory pressure.

That was with the RHEL6.2 kernel. I don't have the details as to what
patches are included on top of 2.6.32...
--
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/