On Mon, Dec 01, 2008 at 07:21:54PM +0900, Akira Fujita wrote: > ext4: Fix s_dirty_blocks_counter if block allocation failed with nodelalloc > > From: Akira Fujita <a-fujita@xxxxxxxxxxxxx> > > If block allocation failed after marking claimed blocks as dirty blocks > with nodelalloc, we have to subtract these blocks from > s_dirty_blocks_counter in error handling. > Otherwise s_dirty_blocks_counter goes wrong so that > filesystem's free blocks decreases incorrectly. Why did the block allocation fail ? With delayed allocation ENOSPC should not happen during block allocation. That would mean we did something wrong in block reservation. > > This issue was reported as ext4 online defrag's bug by Li Zefan. > http://marc.info/?l=linux-ext4&m=122697235715170&w=2 -aneesh -- 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