diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-10-06 11:02:34 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-10-15 02:19:48 +0100 |
commit | cce161dc05c05e1356e6e563e7628637cc54a134 (patch) | |
tree | d35985c9f0054cedf235a1013721400b0d2ac320 /NEWS | |
parent | eafa6ebf10924ec36cb5d28fd9d97a23de089bd0 (diff) | |
download | coreutils-cce161dc05c05e1356e6e563e7628637cc54a134.tar.xz |
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.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ GNU coreutils NEWS -*- outline -*- cp,install,mv will convert smaller runs of NULs in the input to holes, and cp --sparse=always avoids speculative preallocation on XFS for example. + cp will read sparse files more efficiently when the destination is a + non regular file. For example when copying a disk image to a device node. + mv will try a reflink before falling back to a standard copy, which is more efficient when moving files across BTRFS subvolume boundaries. |