On Mon, Mar 31, 2008 at 07:36:26PM -0400, Theodore Ts'o wrote: > From: Andreas Dilger <adilger@xxxxxxxxx> > > Never set the UNINIT_BLOCKS flag for the last group since the kernel > doesn't handle the case graefully if there is a full set of blocks in > each blockgroup marked UNINIT_BLOCKS. The kernel should be fixed up, > but in the meantime this avoids hitting the problem, and is more > consistent with lazy_bg not marking the last group UNINIT. This is technically not necessary since we will only set UNINIT_BLOCKS if the number of free blocks is equal to blocks_per_group minus superblock_overhead. So there was no danger in the existing codepath. I think you did this because you were enforcing no UNINIT_BLOCKS in the last group in e2fsck, instead of just checking to make sure the free blocks equals the return value from ext2fs_super_and_bgd_loc(). - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html