aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-10-31 15:37:55 +0000
committerPádraig Brady <P@draigBrady.com>2025-11-01 11:24:59 +0000
commit2c5754649e08a664f3d43f7bc1df08f498bc1554 (patch)
treed5d374f5b6e3e0d15a88dad50252b3294f7f543c /scripts/git-hooks/commit-msg
parentcopy: don't avoid copy-offload upon SEEK_HOLE indicating non-sparse (diff)
downloadcoreutils-2c5754649e08a664f3d43f7bc1df08f498bc1554.tar.gz
coreutils-2c5754649e08a664f3d43f7bc1df08f498bc1554.zip
copy: be more defensive/restrictive with posix_fadvise
* src/copy-file-data.c (copy_file_data): Only give the POSIX_FADV_SEQUENTIAL hint when we _know_ we'll definitely use a read/write loop to copy the data. Also only apply the hint to the whole file, as we've seen OpenZFS at least special case that. (sparse_copy): Update stale comment.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions