Re: [PATCH] set s_raid_stride and s_raid_stripe_width

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.\n\n"),
> > +			param->s_raid_stripe_width, param->s_raid_stride);
> 
> 
> We also want to validate that s_raid_stripe_width is not >=
> blocks_per_group.

And probably that s_raid_stripe_width <= s_raid_stride.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

-
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

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux