[PATCH v8 11/11] btrfs: add raid-stripe-tree to features enabled with debug

Johannes Thumshirn posted 11 patches 2 years, 3 months ago
There is a newer version of this series
[PATCH v8 11/11] btrfs: add raid-stripe-tree to features enabled with debug
Posted by Johannes Thumshirn 2 years, 3 months ago
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.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
 fs/btrfs/fs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/btrfs/fs.h b/fs/btrfs/fs.h
index 5c7778e8b5ed..0f5894e2bdeb 100644
--- a/fs/btrfs/fs.h
+++ b/fs/btrfs/fs.h
@@ -223,7 +223,8 @@ enum {
 	 */
 #define BTRFS_FEATURE_INCOMPAT_SUPP		\
 	(BTRFS_FEATURE_INCOMPAT_SUPP_STABLE |	\
-	 BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2)
+	 BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2 |\
+	 BTRFS_FEATURE_INCOMPAT_RAID_STRIPE_TREE)
 
 #else
 

-- 
2.41.0