Write block/inode bitmaps and inode tables earlier.
authorCarl Hetherington <cth@carlh.net>
Mon, 8 Mar 2021 23:21:56 +0000 (00:21 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 8 Mar 2021 23:25:39 +0000 (00:25 +0100)
commitb13cbdce2fe1c4790f0737a75ac49aa1b826eb66
treef12275db7f6d81bf990808a36330576a517ca839
parentc1fc6c7e573c644013bf65ae5ef474e235466dc0
Write block/inode bitmaps and inode tables earlier.

Before we would write blank block/inode bitmap tables then
fill them in later.  This is a bit of a hack to set up enough
of the data structures (I think) to allow the correct block/inode
bitmaps to be written first time.

This may not be worth the hack/risk - I haven't tested the
speed improvement carefully.
src/ext4_mkfs.c