Whamcloud - gitweb
mke2fs: use lazy inode init on some discard-able devices
authorEric Sandeen <sandeen@redhat.com>
Fri, 20 Aug 2010 21:41:14 +0000 (16:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Sep 2010 13:20:25 +0000 (09:20 -0400)
commit6fcd6f84c235f4bf2bd9770f172837da9982eb6e
treec01ecbfe1afa89fe29500feef7836dc1f2716ff8
parent32f66cc791f597a3522607b233cefc4f1e673fc1
mke2fs: use lazy inode init on some discard-able devices

If a device supports discard -and- returns 0s for discarded blocks,
then we can skip the inode table initialization -and- the inode table
zeroing at mkfs time, and skip the lazy init as well since they are
already zeroed out.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c