summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-07-10 18:15:05 +0200
committerDavid Sterba <dsterba@suse.com>2019-11-18 17:51:49 +0100
commitcfbb825c76198c9095428c5f9362fbf6ae06f417 (patch)
tree6f95f657cc268f4218e22e33e7b9a48f67927e1d /fs/btrfs/ctree.h
parent8d6fac0087e538173f34ca7431ed9b58581acf28 (diff)
downloadlinux-stable-cfbb825c76198c9095428c5f9362fbf6ae06f417.tar.gz
linux-stable-cfbb825c76198c9095428c5f9362fbf6ae06f417.tar.bz2
linux-stable-cfbb825c76198c9095428c5f9362fbf6ae06f417.zip
btrfs: add incompat for raid1 with 3, 4 copies
The new raid1c3 and raid1c4 profiles are backward incompatible and the name shall be 'raid1c34', the status can be found in the global supported features in /sys/fs/btrfs/features or in the per-filesystem directory. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 923a8804ae94..e76b3cda13e3 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -292,7 +292,8 @@ struct btrfs_super_block {
BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF | \
BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA | \
BTRFS_FEATURE_INCOMPAT_NO_HOLES | \
- BTRFS_FEATURE_INCOMPAT_METADATA_UUID)
+ BTRFS_FEATURE_INCOMPAT_METADATA_UUID | \
+ BTRFS_FEATURE_INCOMPAT_RAID1C34)
#define BTRFS_FEATURE_INCOMPAT_SAFE_SET \
(BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF)