[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] writev_emu: stop on the first incomplete write
From: |
Sjoerd Simons |
Subject: |
[PATCH] writev_emu: stop on the first incomplete write |
Date: |
Mon, 25 Jul 2011 18:03:36 +0100 |
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!
As after an EAGAIN the push function expect to be called again with the
same amount of bytes.
--
Sjoerd Simons <address@hidden>
Collabora Ltd.
0001-writev_emu-stop-on-the-first-incomplete-write.patch
Description: Text Data
- [PATCH] writev_emu: stop on the first incomplete write,
Sjoerd Simons <=