[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] writev_emu: stop on the first incomplete write
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [PATCH] writev_emu: stop on the first incomplete write |
Date: |
Mon, 25 Jul 2011 19:15:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
On 07/25/2011 07:03 PM, Sjoerd Simons wrote:
> Hey,
>
> See attached patch :). Our library got someone confused in some cases
> when the push function couldn't write out, we'd see call traces like
> this:
>
> push (X bytes): return Y bytes (Y < X)
> push (Z bytes): return -EAGAIN
> push (X - Y bytes): abort!
Applied.
thank you,
Nikos