Andrew Morton wrote: > On Fri, 31 Oct 2008 14:27:31 -0700 > Mingming Cao <cmm@xxxxxxxxxx> wrote: > >> ext4: quota reservation for delayed allocation >> >> Index: linux-2.6.28-rc2/fs/ext4/inode.c >> =================================================================== >> --- linux-2.6.28-rc2.orig/fs/ext4/inode.c 2008-10-29 13:26:55.000000000 -0700 >> +++ linux-2.6.28-rc2/fs/ext4/inode.c 2008-10-30 14:25:47.000000000 -0700 >> @@ -1531,12 +1541,23 @@ repeat: >> md_needed = mdblocks - EXT4_I(inode)->i_reserved_meta_blocks; >> total = md_needed + nrblocks; >> >> + /* >> + * Make quota reservation here, to prevent quota overflow >> + * later.Real quota accounting is done at pages writeout >> + * time > > "Make the quota reservation here to prevent quota overflow later. Real > quota accounting is performed and page writeout time." s/and/at/ --- -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html