diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-03-30 22:50:05 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-03-31 16:46:42 +0100 |
commit | f69876e558782eb770955aa0b1344a5a8262548b (patch) | |
tree | 57d7c29f644b72239a92e0108408955ae29de39f /NEWS | |
parent | 17a7e4592727b44d0a5550d1340e354786109af7 (diff) | |
download | coreutils-f69876e558782eb770955aa0b1344a5a8262548b.tar.xz |
copy: with fiemap copy, only sync when needed
* src/extent-scan.h (struct extent_scan): Add the fm_flags member to
pass to the fiemap scan.
* src/extent-scan.c (extent_need_sync): A new function used to
detect Linux kernels before 2.6.38.
(extent_scan_init): Add FIEMAP_FLAG_SYNC when needed.
* tests/cp/sparse-fiemap: Adjust comment.
* NEWS: Mention the change in behavior.
Indirectly suggested by Mike Frysinger
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,10 @@ GNU coreutils NEWS -*- outline -*- ** Changes in behavior + cp now avoids syncing files when possible, when doing a FIEMAP copy. + The sync in only needed on Linux kernels before 2.6.38. + [The sync was introduced in coreutils-8.10] + df now aligns columns consistently, and no longer wraps entries with longer device identifiers, over two lines. |