Re: Mercurial 0.3 vs git benchmarks

Theodore Ts'o
2005-04-27T19:56:18Z

On Tue, Apr 26, 2005 at 03:56:09PM -0700, Andrew Morton wrote:
> - umount the fs
> - tune2fs -O ^has_journal /dev/whatever
> - fsck -fy (to clean up the now-orphaned journal inode)

Using moderately recent versions of e2fsprogs, tune2fs will clean up
the journal inode, so there's no reason to do an fsck. (Harmless, but
it shouldn't be necessary and it takes time).

> - tune2fs -j -J size=nblocks (normally 4k blocks)

The argument to "-J size" is in megabytes, not in blocks.

- Ted