Re: [PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-10 Thread Andreas Dilger
On Jan 10, 2008 09:58 +0530, Aneesh Kumar K.V wrote: > > d) if s_stripe is still > s_blocks_per_group try s_raid_stride > > e) if s_stripe is still > s_blocks_per_group use 0 > > But i guess mke2fs and tune2fs should validate the value of > s_raid_stripe_width and s_raid_stride. Both of them shou

Re: [PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-09 Thread Aneesh Kumar K.V
On Wed, Jan 09, 2008 at 04:36:27PM -0700, Andreas Dilger wrote: > On Jan 09, 2008 22:37 +0530, Aneesh Kumar K.V wrote: > > The stipe size used during block allocation is calculated as below. > > a) if we specify a stripe= option using mount time. Use that value. > > b) if not use the value specifi

Re: [PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-09 Thread Andreas Dilger
On Jan 09, 2008 22:37 +0530, Aneesh Kumar K.V wrote: > The stipe size used during block allocation is calculated as below. > a) if we specify a stripe= option using mount time. Use that value. > b) if not use the value specified in super block. > b) If the value specfied at mount time is greater t

Re: [PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-09 Thread Mingming Cao
On Wed, 2008-01-09 at 22:37 +0530, Aneesh Kumar K.V wrote: > The stipe size used during block allocation is calculated as below. > a) if we specify a stripe= option using mount time. Use that value. > b) if not use the value specified in super block. > b) If the value specfied at mount time is grea

Re: [PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-09 Thread Eric Sandeen
Aneesh Kumar K.V wrote: > The stipe size used during block allocation is calculated as below. > a) if we specify a stripe= option using mount time. Use that value. > b) if not use the value specified in super block. > b) If the value specfied at mount time is greater than blocks per group use > the

[PATCH] ext4: Use superblock s_raid_stripe_width as stripe size during block allocation.

2008-01-09 Thread Aneesh Kumar K.V
The stipe size used during block allocation is calculated as below. a) if we specify a stripe= option using mount time. Use that value. b) if not use the value specified in super block. b) If the value specfied at mount time is greater than blocks per group use the value specified ini the super blo