Re: [RFC v2 2/2] fs: btrfs: Extends btrfs/raid56 to support up tosix parities
From: Chris Mason
Date: Mon Jan 06 2014 - 09:13:11 EST
On Mon, 2014-01-06 at 10:31 +-0100, Andrea Mazzoleni wrote:
+AD4- This patch changes btrfs/raid56.c to use the new raid interface and
+AD4- extends its support to an arbitrary number of parities.
+AD4-
+AD4- More in details, the two faila/failb failure indexes are now replaced
+AD4- with a fail+AFsAXQ- vector that keeps track of up to six failures, and now
+AD4- the new raid+AF8-par() and raid+AF8-rec() functions are used to handle with
+AD4- parity instead of the old xor/raid6 ones.
+AD4-
Neat. The faila/failb were always my least favorite part of the btrfs
code +ADs-) Did you test just raid5/6 or also the higher parity counts?
-chris
--
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/