]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add mask for all RAID1 types
authorDavid Sterba <dsterba@suse.com>
Fri, 31 May 2019 13:39:31 +0000 (15:39 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:48 +0000 (12:30 +0200)
commite17455c223d2a8138767d978837d3213def6df63
tree3a2237f725a6ae2582302dbcbcad0ba0e154febe
parent366bd8be5154c0f7fc4487813195753fd29b7f61
btrfs: add mask for all RAID1 types

Preparatory patch for additional RAID1 profiles with more copies. The
mask will contain 3-copy and 4-copy, most of the checks for plain RAID1
work the same for the other profiles.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c
include/uapi/linux/btrfs_tree.h