diff options
author | Darshan Sen <raisinten@gmail.com> | 2021-02-13 20:53:06 +0530 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2021-02-13 12:51:46 -0500 |
commit | 70f67d8e052c3de9761e086bbae46f862e39450e (patch) | |
tree | 62913398d01a419b507d24df4ec3ccb098d1d82d /test/benchmark-tcp-write-batch.c | |
parent | 217fdf4265589889d00c7c0622fde2710971a020 (diff) | |
download | libuv-70f67d8e052c3de9761e086bbae46f862e39450e.tar.gz libuv-70f67d8e052c3de9761e086bbae46f862e39450e.zip |
unix: check for EXDEV in uv__fs_sendfile()
copy_file_range will not work when in_fd and out_fd
are not on the same mounted filesystem (pre Linux 5.3).
Refs: https://github.com/nodejs/node/issues/37284
PR-URL: https://github.com/libuv/libuv/pull/3108
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'test/benchmark-tcp-write-batch.c')
0 files changed, 0 insertions, 0 deletions