diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-11-04 23:14:11 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-11-06 17:43:13 +0000 |
commit | 2c6736f92fc7d2f310714473ea84ceff57e01da2 (patch) | |
tree | 0eb4d044558effa82483537b5b58c8531d04691d /NEWS | |
parent | ebaf961f3ad9ae7e8f9258e46eadb0e0d5e30ade (diff) | |
download | coreutils-2c6736f92fc7d2f310714473ea84ceff57e01da2.tar.xz |
shred: write larger chunks when possible
* src/shred.c (dopass): When not needing to write periodic patterns,
use a 64KiB block size to reduce the number of write system calls.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -87,8 +87,9 @@ GNU coreutils NEWS -*- outline -*- Reservoir sampling is used to limit memory usage based on the number of outputs, rather than the number of inputs. - shred once again uses direct I/O where available. - [Regression introduced in coreutils-6.0] + shred once again uses direct I/O where available, and increases write block + size from 12KiB to 64KiB when possible. + [Direct I/O regression introduced in coreutils-6.0] split --line-bytes=SIZE, now only allocates memory as needed rather than allocating SIZE bytes at program start. |