commit | 47e6f7423b9196ad6832d26cae52b7015f81ee7f | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Mar 02 22:56:53 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Nov 18 17:51:49 2019 +0100 |
tree | 3f06408a77645e1546ed90445cf6584c515ca44d | |
parent | fac07d2b091542f7169978e4c1413747d8d0e965 [diff] |
btrfs: add support for 3-copy replication (raid1c3) Add new block group profile to store 3 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-copy RAID1. The minimum number of devices is 3, the maximum number of devices/chunks that can be lost/damaged is 2. Like RAID6 but with 33% space utilization. Signed-off-by: David Sterba <dsterba@suse.com>