]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: read sparse files more efficiently with non regular destination
authorPádraig Brady <P@draigBrady.com>
Mon, 6 Oct 2014 10:02:34 +0000 (11:02 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Oct 2014 01:19:48 +0000 (02:19 +0100)
commitcce161dc05c05e1356e6e563e7628637cc54a134
treed35985c9f0054cedf235a1013721400b0d2ac320
parenteafa6ebf10924ec36cb5d28fd9d97a23de089bd0
cp: read sparse files more efficiently with non regular destination

* src.copy.c (copy_reg): Use fiemap to read sparse files, even
if the output is not to a regular file.
* NEWS: Mention the improvement.
NEWS
src/copy.c