Thread (18 messages) 18 messages, 8 authors, 2014-01-14

Re: [RFC v2 2/2] fs: btrfs: Extends btrfs/raid56 to support up to six parities

From: Chris Mason <hidden>
Date: 2014-01-06 14:13:07
Also in: linux-btrfs, lkml

On Mon, 2014-01-06 at 10:31 +0100, Andrea Mazzoleni wrote:
This patch changes btrfs/raid56.c to use the new raid interface and
extends its support to an arbitrary number of parities.

More in details, the two faila/failb failure indexes are now replaced
with a fail[] vector that keeps track of up to six failures, and now
the new raid_par() and raid_rec() functions are used to handle with
parity instead of the old xor/raid6 ones.
Neat.  The faila/failb were always my least favorite part of the btrfs
code ;)  Did you test just raid5/6 or also the higher parity counts?

-chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help