On Thu, Oct 25, 2012 at 07:39:06PM +0800, Yongqiang Yang wrote: > > > > So my question is, why do you think this might not make sense in no > > journal mode ? Maybe I am missing something. > Yep, advantage is obvious, in no journal mode, if we delete a file > which is the last inode in a block group, and the uninit flag of inode > bitmap is flused to disk and directory referring the inode is not > flushed, I don't know how fsck handles the situation currently. If > fsck handles the situation, everything is ok. I meant maybe we should > check fsck too. Hi Yongqiang, It seems that it couldn't happen whether it is in no journal mode or journal mode. When a file is deleted, the dir entry will be updated firstly, and then the block will be freed. So the block is freed after the dir entry is updated. So when the last inode is freed, the dir entry must be flushed to the disk. Am I missing something? Regards, Zheng -- 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