read/write: account for buffer changes during wait
commit2c64a1fc07d3b9a80d112e3b0e2baa7ec29c2f47
authorEric Wong <e@yhbt.net>
Tue, 28 Sep 2010 00:03:39 +0000 (28 00:03 +0000)
committerEric Wong <e@yhbt.net>
Tue, 28 Sep 2010 00:05:33 +0000 (28 00:05 +0000)
treebef8df8273c04648c809d058b369d0ec01340024
parentf2ea9918655e8ee0576bee2950d16485031fc361
read/write: account for buffer changes during wait

It's possible for applications to modify the buffer during
reads and writes, so make a best effort to account for those.
ext/kgio/kgio_ext.c