On Mon, 04 Sep 2023 14:58:06 +1000, Li Dongyang wrote: > For flex_bg enabled fs, we could merge the > inode table blocks into a contiguous range, > this improves mke2fs time on large devices > when lazy_itable_init is disabled. > > On a 977TB device, unpatched mke2fs was running > for 449m10s before getting terminated manually. > strace shows huge number of fallocate, given the > offset from fallocate it has done 41% of the inode > tables, the estimated time needed would be 1082m. > > [...] Applied, thanks! [1/1] mke2fs: batch zeroing inode table commit: a192f4f344456c2390ce946b4a71db0b85ce5665 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>