]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp,mv,install: provide POSIX_FADV_SEQUENTIAL hint to input
authorPádraig Brady <P@draigBrady.com>
Tue, 1 May 2012 20:50:49 +0000 (21:50 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 2 May 2012 17:41:53 +0000 (18:41 +0100)
commit15f1d0c9aad23f5ada64594c127ca015d4d8dbfe
tree7502b6f0a3ca2b3e0b26f0686aec1e6a240534c6
parente744f4b7b7de9b76fdd314aa406e9fb150b9168d
cp,mv,install: provide POSIX_FADV_SEQUENTIAL hint to input

This was inadvertently omitted from v8.5-104-g47076e3,
and gives the same 5% speedup when copying from an SSD.

* src/copy.c (copy_internal): Apply the FADVISE_SEQUENTIAL hint.
src/copy.c