]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: skip zeroing journal blocks
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 11 Jun 2011 16:17:29 +0000 (12:17 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Jun 2011 16:19:12 +0000 (12:19 -0400)
commit6c54689fadc3fe0b0bcae2cc93946cb7a28b9f15
treec06b3aaf73430854c4a68c1305f84d83c4f34619
parent931b58e1cb2158c1f5218059cce92e94917ef485
mke2fs: skip zeroing journal blocks

Add the ability to skip zeroing journal blocks on disk.  This can
significantly speed up mke2fs with large journals.  At worst the
uninitialized journal is only a very short-term risk (if at all),
because the journal will be overwritten on any new filesystem as
soon as any significant amount of data is written to disk, and
the new journal TID would need to match the offset/TID of an old
commit block still left on disk.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/mkjournal.c
misc/mke2fs.8.in
misc/mke2fs.c