Rick Macklem d189a74dfd 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
2021-01-02 17:21:21 -08:00
..
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2020-12-11 00:26:49 +00:00
2020-09-29 18:13:54 +00:00
2020-04-12 21:23:19 +00:00
2019-12-04 16:56:11 +00:00
2018-07-10 22:00:20 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2017-06-23 18:06:20 +00:00
2019-12-04 16:56:11 +00:00
2017-02-28 23:42:47 +00:00
2019-12-04 16:56:11 +00:00
2017-02-28 23:42:47 +00:00
2020-10-09 19:12:44 +00:00
2020-09-09 18:07:13 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2020-10-09 19:12:44 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2020-12-27 12:57:26 +02:00
2020-12-08 03:48:05 +00:00
2019-12-04 16:56:11 +00:00
2017-02-28 23:42:47 +00:00
2020-12-27 12:57:26 +02:00
2020-03-30 21:48:47 +00:00
2017-05-23 09:29:05 +00:00
2016-03-18 08:47:17 +00:00
2017-02-28 23:42:47 +00:00
2017-06-24 17:01:11 +00:00
2017-03-19 00:51:12 +00:00
2017-02-28 23:42:47 +00:00
2020-04-25 14:24:54 +00:00
2016-08-29 18:47:51 +00:00
2020-04-25 14:24:54 +00:00
2018-01-24 22:36:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2019-09-26 15:32:28 +00:00
2019-01-16 05:15:57 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2020-04-25 14:24:54 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2018-05-25 20:40:23 +00:00
2017-02-28 23:42:47 +00:00