OSDN Git Service

make_ext4fs: Modify ext4 filesystem setup to speed up fsck
authorMohamad Ayyash <mkayyash@google.com>
Fri, 15 Apr 2016 02:43:31 +0000 (19:43 -0700)
committerMohamad Ayyash <mkayyash@google.com>
Sat, 16 Apr 2016 01:43:57 +0000 (18:43 -0700)
commitdedf8f9705df13e1fd07d3f754216d34725bb269
treec65219214600d04bce591b32c92d84d55ff08ac0
parent2362310b546b157eeee352e72b1585363002d662
make_ext4fs: Modify ext4 filesystem setup to speed up fsck

1) Set EXT4_BG_INODE_UNINIT so fsck will skip scanning unused inodes
2) Use EXT4_FEATURE_RO_COMPAT_GDT_CSUM to enable group descriptor
checksums in filesystem which reduces overhead for fsck

BUG: 24747200
BUG: 28013112
Change-Id: I118ab26935442f452962b3a7c29c61acf76ad4d9
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
ext4_utils/allocate.c
ext4_utils/make_ext4fs.c