btrfs-progs/common
David Sterba 1f5094bb5c btrfs-progs: add support for raid1c3 and raid1c4
Add support for 3- and 4- copy variants of RAID1. This adds resiliency
against 2 or resp. 3 devices lost or damaged.

$ ./mkfs.btrfs -m raid1c4 -d raid1c3 /dev/sd[abcd]

Label:              (null)
UUID:               f1f988ab-6750-4bc2-957b-98a4ebe98631
Node size:          16384
Sector size:        4096
Filesystem size:    8.00GiB
Block group profiles:
  Data:             RAID1C3         273.06MiB
  Metadata:         RAID1C4         204.75MiB
  System:           RAID1C4           8.00MiB
SSD detected:       no
Incompat features:  extref, skinny-metadata, raid1c34
Number of devices:  4
Devices:
   ID        SIZE  PATH
    1     2.00GiB  /dev/sda
    2     2.00GiB  /dev/sdb
    3     2.00GiB  /dev/sdc
    4     2.00GiB  /dev/sdd

Signed-off-by: David Sterba <dsterba@suse.com>
2019-11-22 19:09:50 +01:00
..
box.h btrfs-progs: build most common tools into one binary (busybox style) 2019-07-04 15:30:40 +02:00
device-scan.c btrfs-progs: pretty print device size in overflow error message 2019-09-04 16:08:31 +02:00
device-scan.h btrfs-progs: utils: split device scanning functions to own file 2019-07-04 02:06:34 +02:00
device-utils.c btrfs-progs: utils: split device handling functions to own file 2019-07-04 02:06:34 +02:00
device-utils.h btrfs-progs: utils: split device handling functions to own file 2019-07-04 02:06:34 +02:00
format-output.c btrfs-progs: fix a printf format string fatal warning 2019-07-26 17:46:41 +02:00
format-output.h btrfs-progs: output formatter infrastructure 2019-07-03 20:49:04 +02:00
fsfeatures.c btrfs-progs: add support for raid1c3 and raid1c4 2019-11-22 19:09:50 +01:00
fsfeatures.h btrfs-progs: move fsfeatures.[ch] to common/ 2019-07-03 20:49:03 +02:00
help.c btrfs-progs: build most common tools into one binary (busybox style) 2019-07-04 15:30:40 +02:00
help.h btrfs-progs: define new output format: json 2019-07-03 20:49:04 +02:00
internal.h
messages.c btrfs-progs: move messages.[ch] to common/ 2019-07-03 20:49:03 +02:00
messages.h btrfs-progs: move messages.[ch] to common/ 2019-07-03 20:49:03 +02:00
path-utils.c btrfs-progs: path-utils: rename test_isdir 2019-07-04 02:06:33 +02:00
path-utils.h btrfs-progs: path-utils: rename test_isdir 2019-07-04 02:06:33 +02:00
rbtree-utils.c btrfs-progs: move rbtree-utils.[ch] to common/ 2019-07-03 20:49:04 +02:00
rbtree-utils.h btrfs-progs: move rbtree-utils.[ch] to common/ 2019-07-03 20:49:04 +02:00
string-table.c btrfs-progs: move string-table.[ch] to common/ 2019-07-03 20:49:03 +02:00
string-table.h btrfs-progs: move string-table.[ch] to common/ 2019-07-03 20:49:03 +02:00
task-utils.c btrfs-progs: move task-utils.[ch] to common/ 2019-07-03 20:49:03 +02:00
task-utils.h btrfs-progs: move task-utils.[ch] to common/ 2019-07-03 20:49:03 +02:00
utils.c btrfs-progs: add support for raid1c3 and raid1c4 2019-11-22 19:09:50 +01:00
utils.h btrfs-progs: move parse_csum_type to utils 2019-11-18 19:21:09 +01:00