Whamcloud - gitweb
ext2fs_add_journal_inode: Optimize writing the journal data blocks
authorTheodore Ts'o <tytso@mit.edu>
Sun, 27 Apr 2008 20:10:32 +0000 (16:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Apr 2008 23:42:23 +0000 (19:42 -0400)
commitc86085044195c8b721fe9ee327d790316399781e
tree318cb13450b082c4cce41bd9bd329d28144e2652
parent5f8a5ae6b8f7c273d678cbdaf56ec35cdb1b3587
ext2fs_add_journal_inode: Optimize writing the journal data blocks

Add a new function ext2fs_zero_blocks(), and use it so that journal
data blocks is written in larger chunks to speed up the creation of
the journal.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/mkjournal.c