diff options
author | Jameson Nash <vtjnash@gmail.com> | 2018-02-13 16:05:45 -0500 |
---|---|---|
committer | Santiago Gimeno <santiago.gimeno@gmail.com> | 2018-09-28 21:47:07 +0200 |
commit | 60abdbaed6c20a41678cd9af1d6f40a1d11bf5e2 (patch) | |
tree | 9077d8a98c049e83a07395b129202998f325f7c0 /docs/src | |
parent | 19a341919546140c37834488e1f7c46721b0d2d5 (diff) | |
download | libuv-60abdbaed6c20a41678cd9af1d6f40a1d11bf5e2.tar.gz libuv-60abdbaed6c20a41678cd9af1d6f40a1d11bf5e2.zip |
unix,readv: always permit partial reads to return
For simplicity and predictability (since the user must handle the retry
anyways), always emit exactly one readv/pread/preadv syscall and return
that result to the user.
By contrast, write needs to preserve order, so it needs to keep retrying
the operation until it finishes before retiring the req from the queue.
Fixes: https://github.com/nodejs/node/issues/16601
PR-URL: https://github.com/libuv/libuv/pull/1742
Refs: https://github.com/libuv/libuv/pull/640
Refs: https://github.com/libuv/libuv/issues/1720
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions