aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/truncate-overflow.sh
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2022-12-30 19:34:27 +0000
committerPádraig Brady <P@draigBrady.com>2022-12-31 00:20:45 +0000
commit879d2180d6b58e7a83312681fbce9a1e841c2ae4 (patch)
tree05e1f38b37df59083fa494810966cd246cf1b699 /tests/misc/truncate-overflow.sh
parentwc: fix regression determining file size (diff)
downloadcoreutils-879d2180d6b58e7a83312681fbce9a1e841c2ae4.tar.gz
coreutils-879d2180d6b58e7a83312681fbce9a1e841c2ae4.zip
copy: attempt copy offload with sparse files by default
This was seen to vastly improve performance on NFS 4.2 systems by allowing server side copies, with partially sparse files (avidemux generated mp4 files). * src/copy.c (lseek_copy): Also set hole_size to 0, i.e. enable copy_file_range(), with --sparse=auto (the default), to enable copy offload in this case, as we've strong signal from SEEK_DATA that we're operating on actual data and not holes here. * NEWS: Mention the improvement. Fixes https://bugs.gnu.org/60416
Diffstat (limited to 'tests/misc/truncate-overflow.sh')
0 files changed, 0 insertions, 0 deletions