Re: [PATCH] BTRFS: Adds an option to select RAID Stripe size

From: Qu Wenruo
Date: Wed Dec 30 2015 - 19:47:26 EST




David Sterba wrote on 2015/12/30 17:17 +0100:
On Wed, Dec 30, 2015 at 10:10:44PM +0800, Qu Wenruo wrote:
Now I am on the same side of David.
Which means a runtime interface to change them. (along with mkfs option)

If provide some configurable features, then it should be able to be
tuned at both right time and mkfs time.
Or, just don't touch it until there is really enough user demand.
(In stripe_len case, it's also a possible choice, as configurable stripe
length doesn't really affect much except RAID5/6)

I think that we need configurable stripe size regardless. The
performance drop is measurable if the stripe size used by filesystem
does not match the hardware.

Right, I just missed the benchmark from Christoph and forgot the case of RAID 5/6.


I totally understand that implement will cost you a lot of more time,
not only kernel part but also user-tool part.

But this also means more patches.
No matter what the motivation for you to contribute to btrfs, more
patches (except the more time spent) are always good.

More patches, more reputation built in community, and more patches also
means better split code structures for easier review.

Let me note that a good reputation is also built from patch reviews
(hint hint).

I must admit I'm a bad reviewer.
As when I review something, I always has an eager to rewrite part or all the patch to follow my idea, even it's just a choice between different design.

Thanks,
Qu


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/