New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux: use copy_file_range for uv_fs_copyfile when possible #2352
Conversation
9ac78b7
to
5b3957d
Compare
3e15794
to
f86f56f
Compare
Fixed, please review @bnoordhuis |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Refs: libuv#925 (comment) PR-URL: libuv#2352 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
CI for merge: https://ci.nodejs.org/job/libuv-test-commit/1960/ |
Refs: libuv#925 (comment) PR-URL: libuv#2352 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
According to the man page:
Thus copy_file_range may provide better performance on certain devices.
Tested on Linux archlinux-pc 5.1.15-arch1-1-ARCH
Ref: #925 (comment)