On Sun, Jan 03, 2016 at 03:26:25AM +0100, Christoph Anton Mitterer wrote: > On Sun, 2016-01-03 at 09:37 +0800, Qu Wenruo wrote: > > And since you are making the stripe size configurable, then user isĀ > > responsible for any too large or too small stripe size setting. > That pops up the questions, which raid chunk sizes the kernel, > respectively the userland tools should allow for btrfs... > > I'd guess only powers of 2, some minimum, some maximum.
We have a full 32 bit number space, so multiples of power of 2 are also possible if that makes sense. In general we don't need to set additional limitations besides minimum, maximum and "minimal step". > Are there any concerns/constraints with too small/too big chunks when > these play together with lower block layers (I'd guess not). I don't think so. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html