diff options
author | David Sterba <dsterba@suse.com> | 2019-05-31 15:39:31 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-02 12:30:48 +0200 |
commit | c7369b3faea230cf6009449147ed755c45e74afd (patch) | |
tree | 3a2237f725a6ae2582302dbcbcad0ba0e154febe /include/uapi/linux/btrfs_tree.h | |
parent | e88439debd0a7f969b3ddba6f147152cd0732676 (diff) | |
download | blackbird-op-linux-c7369b3faea230cf6009449147ed755c45e74afd.tar.gz blackbird-op-linux-c7369b3faea230cf6009449147ed755c45e74afd.zip |
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>
Diffstat (limited to 'include/uapi/linux/btrfs_tree.h')
-rw-r--r-- | include/uapi/linux/btrfs_tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h index 421239b98db2..34d5b34286fa 100644 --- a/include/uapi/linux/btrfs_tree.h +++ b/include/uapi/linux/btrfs_tree.h @@ -866,6 +866,8 @@ enum btrfs_raid_types { #define BTRFS_BLOCK_GROUP_RAID56_MASK (BTRFS_BLOCK_GROUP_RAID5 | \ BTRFS_BLOCK_GROUP_RAID6) +#define BTRFS_BLOCK_GROUP_RAID1_MASK (BTRFS_BLOCK_GROUP_RAID1) + /* * We need a bit for restriper to be able to tell when chunks of type * SINGLE are available. This "extended" profile format is used in |