btrfs: add raid stripe tree to features enabled with debug config
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 14 Sep 2023 16:07:06 +0000 (09:07 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:10 +0000 (16:44 +0200)
Until the raid stripe tree code is well enough tested and feature
complete, "hide" it behind CONFIG_BTRFS_DEBUG so only people who
want to use it are actually using it.

The scrub support may still fail some tests (btrfs/060 and up) and will
be fixed, RAID5/6 is not supported.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/fs.h

index b1914a9eb9f62cefa8dd8eb3687d37c01de118bd..19f9a444bcd8915f5fdfafc64e22244f8071c2c2 100644 (file)
@@ -229,6 +229,7 @@ enum {
         */
 #define BTRFS_FEATURE_INCOMPAT_SUPP            \
        (BTRFS_FEATURE_INCOMPAT_SUPP_STABLE |   \
+        BTRFS_FEATURE_INCOMPAT_RAID_STRIPE_TREE | \
         BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2)
 
 #else