Impact on e2fsprogs with Linux 2.6.37

  • Ethan

    Ethan - 2011-01-19

      Kernel 37 was release on 4 January, which has a change for ext4 highlighted as below:

    "Faster mkfs: One of the slowest parts while creating a new Ext4 filesystem is initializating the inode tables. mkfs can avoid this step and leave the inode tables uninitialized. When mounted for first time, the kernel will run a kernel thread -ext4lazyinit- which will initialize the tables"

      I think with this change, several tools need to be updated
    * mkfs can generate a small image for a big partition
    * resize2fs can do less things with a image which has inode tables uninitialized yet
    * fsck can understand a image with inode tables uninitialized

      Are these changes coming soon?


  • Theodore Ts'o

    Theodore Ts'o - 2011-01-19

    Yes, this support has been in e2fsprogs for quite some time.  The only thing which is new which is added in e2fsprogs 1.41.14 is that it can detect if a kernel has support for this feature, by checking for a presence of a specific flag in sysfs, and automatically enable the lazy inode table initialization option in mke2fs.

  • Ethan

    Ethan - 2011-01-20

    Thanks, will try that


Log in to post a comment.