aboutsummaryrefslogtreecommitdiff
path: root/sys/bsm
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2021-01-03 01:21:21 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2021-01-03 01:21:21 +0000
commitd189a74dfdcd4a89c92a48ecbf8fcb6f6903f9b6 (patch)
treed24792d2a5dc9fa3fec2768746b98857632f24c0 /sys/bsm
parentc98a764c681f8b70812a9f13a6e61c96aa1a69d2 (diff)
downloadsrc-d189a74dfdcd4a89c92a48ecbf8fcb6f6903f9b6.tar.gz
src-d189a74dfdcd4a89c92a48ecbf8fcb6f6903f9b6.zip
copy_file_range(2): add recommendation to use large "len"
PR#252358 reported a serious performance problem w.r.t. cp(1) when copying large non-sparse files. This problem appears to have been caused by cp(1) calling copy_file_range(2) with a small "len" argument. This patch adds a recommendation to use a large "len" value where possible, for performance reasons. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D27935
Diffstat (limited to 'sys/bsm')
0 files changed, 0 insertions, 0 deletions