Skip to content
Commit 8d6fac00 authored by David Sterba's avatar David Sterba
Browse files

btrfs: add support for 4-copy replication (raid1c4)



Add new block group profile to store 4 copies in a simliar way that
current RAID1 does.  The profile attributes and constraints are defined
in the raid table and used by the same code that already handles the 2-
and 3-copy RAID1.

The minimum number of devices is 4, the maximum number of devices/chunks
that can be lost/damaged is 3. There is no comparable traditional RAID
level, the profile is added for future needs to accompany triple-parity
and beyond.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 47e6f742
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment