commit | 08c8e319e3e11e30eb8c0b65809d434e807a4456 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 13 04:31:17 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Oct 13 04:31:17 2014 -0400 |
tree | b3c157db214b25ffc042e9f62ad597d72f4d58bf | |
parent | 6a0f113535cdc4937b60f763667a545183b98c85 [diff] |
libext2fs/e2fsck: refactor everyone who writes zero blocks to disk Convert all call sites that write zero blocks to disk to use ext2fs_zero_blocks2() since it can use Linux's zero out feature to do the writes more quickly. Reclaim the zero buffer at freefs time and make the write-zeroes fallback use a larger buffer. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>