summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-02-11 08:55:22 +0000
committerPádraig Brady <P@draigBrady.com>2011-04-01 15:04:18 +0100
commitbfdb6b585b6842362977b8c10fe7858fb96a1dd0 (patch)
tree0279e6e1674d34072ba8e7bf94ba929f332e54e4 /NEWS
parentb56b53bd70b1f8fa2b5a95d4569bb72a2419b5cd (diff)
downloadcoreutils-bfdb6b585b6842362977b8c10fe7858fb96a1dd0.tar.xz
copy: process empty extents more efficiently
* src/copy.c (extent_copy): Treat an allocated but empty extent much like a hole. I.E. don't read data we know is going to be NUL. Also we convert the empty extent to a hole only when SPARSE_ALWAYS so that the source and dest have the same allocation. This will be improved soon, when we use fallocate() to do the allocation. * tests/cp/fiemap-empty: A new test for efficiency and correctness of copying empty extents. * tests/Makefile.am: Reference the new test. * NEWS: Mention the change in behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0c1aa6b59..0bfc8b7c1 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,10 @@ GNU coreutils NEWS -*- outline -*-
The sync in only needed on Linux kernels before 2.6.38.
[The sync was introduced in coreutils-8.10]
+ cp now copies empty extents efficiently, when doing a FIEMAP copy.
+ It no longer reads the zero bytes from the input, and also can efficiently
+ create a hole in the output file when --sparse=always is specified.
+
df now aligns columns consistently, and no longer wraps entries
with longer device identifiers, over two lines.