Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-05 Thread Aneesh Kumar K.V
Valerie Clement wrote: Aneesh Kumar K.V wrote: +if (block_group == sbi->s_gdb_count - 1) { +/* + * Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we need + * to make sure we calculate the rig

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-05 Thread Valerie Clement
Aneesh Kumar K.V wrote: +if (block_group == sbi->s_gdb_count - 1) { +/* + * Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we need + * to make sure we calculate the right free blocks + *

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-03 Thread Mingming Cao
Updated ext4 patch queue with your updated uninit blk group and mballoc patch. Mingming On Thu, 2007-10-04 at 00:34 +0530, Aneesh Kumar K.V wrote: > > Aneesh Kumar K.V wrote: > > > > > > Andreas Dilger wrote: > >> On Oct 03, 2007 15:30 +0530, Aneesh Kumar K.V wrote: > >>> +if (block_group

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-03 Thread Aneesh Kumar K.V
Aneesh Kumar K.V wrote: Andreas Dilger wrote: On Oct 03, 2007 15:30 +0530, Aneesh Kumar K.V wrote: +if (block_group == sbi->s_gdb_count - 1) { +/* + * Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNIN

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-03 Thread Aneesh Kumar K.V
Andreas Dilger wrote: On Oct 03, 2007 15:30 +0530, Aneesh Kumar K.V wrote: + if (block_group == sbi->s_gdb_count - 1) { + /* +* Even though mke2fs always initialize first and last group + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we need +

Re: update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-03 Thread Andreas Dilger
On Oct 03, 2007 15:30 +0530, Aneesh Kumar K.V wrote: > + if (block_group == sbi->s_gdb_count - 1) { > + /* > + * Even though mke2fs always initialize first and last group > + * if some other tool enabled the EXT4_BG_BLOCK_UNINIT we > need > +

update uninitialized-block-groups.patch and mballoc-core.patch

2007-10-03 Thread Aneesh Kumar K.V
Hi, This contain fixes for making mballoc work with uninitialized block group. The patches can be downloaded from http://www.radian.org/~kvaneesh/ext4/oct-3-2007/ The diff is attached below to find out what changed. Mingming, Can you replace the patch in the patch queue with the above two