Re: [PATCH] set s_raid_stride and s_raid_stripe_width

2008-01-09 Thread Andreas Dilger
On Jan 09, 2008 21:33 +0530, Aneesh Kumar K.V wrote: > > + if (param->s_raid_stride && > > + (param->s_raid_stripe_width % param->s_raid_stride) != 0) > > + fprintf(stderr, _("\nWarning: RAID stripe-width %u not an even " > > + "multiple of stride %u.\

Re: [PATCH] set s_raid_stride and s_raid_stripe_width

2008-01-09 Thread Aneesh Kumar K.V
[..snip...] > + if (param->s_raid_stride && > + (param->s_raid_stripe_width % param->s_raid_stride) != 0) > + fprintf(stderr, _("\nWarning: RAID stripe-width %u not an even " > + "multiple of stride %u.\n\n"), > + param->s_

[PATCH] set s_raid_stride and s_raid_stripe_width

2008-01-09 Thread Andreas Dilger
This is a resend of a patch for tune2fs and mke2fs to allow setting the s_raid_stride and s_raid_stripe_width fields in the superblock. These aren't used by the kernel yet, but it is desirable to have mballoc use the s_raid_stripe_width value to align and size allocations on RAID boundaries to avoi