Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2197511rdb; Mon, 11 Sep 2023 14:06:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhsNq9gdKx2XELmtxrG5GUz8U7nZdgXt/ilSYPFRLjGbuJ6XKCz11+2W9P4NgZrmeExZSi X-Received: by 2002:a17:90a:9ce:b0:26d:4312:17ec with SMTP id 72-20020a17090a09ce00b0026d431217ecmr9685545pjo.1.1694466363935; Mon, 11 Sep 2023 14:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694466363; cv=none; d=google.com; s=arc-20160816; b=sNB7Y2TeWOmBWjAdFt/JuAlzafi6ruXyHexLuAaEN0+aZZMg2YBrFCaj1u+3vaYbSi XVe/sglcqdt+LL0k+iDfrXNr9ZKjeTUH/L9ZG34LEjn8NhF1W+BagygP4MpPtwePm4ZQ ztSymNuzX1GBhlwP/D2TgC52TVSUub1U/UlpcswbmWzuumJSdCFwK1R1k2388/GmqSfc CVnuDF3rS4eOxuV+qVgY9OBtN/mvN1qYZCkbeVYhd/ViYl5a4kl8QJN0smy9fwV3CSX+ MMNZ6+z5PX4lW7sWUFS5f04JtQBnaGGZuBb2EvJuN9/XYS0TNfnDgbO8wYjPAZ4lEgNf Bk2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :wdcironportexception:ironport-sdr:ironport-sdr:dkim-signature; bh=ZGe6ACvSGI3Aabk0nUZ6FvTf8V0w2YHCJCpu1RwPsbs=; fh=oeiW69AXkEUHBHkj2b3EEuFBCz3XouvLfLCFOtgpAko=; b=i9fDC+JDW/gvK+zL04aNil3J7H1l/7A9GmhXZn2vT51PnlWq73vMGQoGxHwJmRWMbQ 9X1F3qLxp+d2gbLj0J48kQ9M60Qqoa9CpwwvAY3ui3OjiUhvgvqHyppgNGtbteNcvI7K g5cqyhPIDeS0KGPF/qSonQ4L0e+Qq9J4c49UlLl+J5wIvEiURtTHzPj/I2IaBBMzImZB Aoj12oAYcE6oWqx2jTcppHh71JpOHCGAVPSyPh3Z62xd3ay6Ju3W4u0FsEMSTMxzNxNc VXgAtgZGIr6FGxZrtKMLj5NNs42UnqZxYNsukZ/1rsHggVWp9muDMuH2nY0bukZpxbS+ sScw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=AaCNvq5+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wdc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j11-20020a17090a318b00b0025eeb3cc4b2si5367084pjb.9.2023.09.11.14.05.32; Mon, 11 Sep 2023 14:06:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=AaCNvq5+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbjIKUrC (ORCPT + 99 others); Mon, 11 Sep 2023 16:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237479AbjIKMwr (ORCPT ); Mon, 11 Sep 2023 08:52:47 -0400 Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15161E40; Mon, 11 Sep 2023 05:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1694436763; x=1725972763; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/fWmE+uB6+cLnKgUKo0l86vqhneVO3Sjo3PEyQRxI/Y=; b=AaCNvq5+j5JKtqGZqtug1workw7YxvixkAf+lSG1cmkYgZffYzRugZYE ElB12DXXR5Z5k5q3jILOBzfwXzr3VYcTbockRKgOh6iP79sCS4v7zp+Lr 9HEAYk1iosh4p0RbJn8LjKPRcELKRp5drW7QM2whzLqurv/P57TfJ5los TFEyJHRScXwpJRoEju8WnNeCCZkMdBp2pqsuXF0yVVd13Dx+lGzKFDIeC 3N449nDrvsteB8HPOZGsdd1TzXczDKThQ+6kMQNO/VDxXBhYDIx396DSK ces7/h/OmcHW/YfW3/1o3vsgGpU4Pyu1t39XHSFEi/cjv5JqDdjEG3Lf5 A==; X-CSE-ConnectionGUID: xKthyqHtQPSEJ1EJNU5sSQ== X-CSE-MsgGUID: jcN6phx6RMOjd3en2AV3oA== X-IronPort-AV: E=Sophos;i="6.02,244,1688400000"; d="scan'208";a="243594410" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 11 Sep 2023 20:52:43 +0800 IronPort-SDR: y3MTalOFKWs4gVTHnOG1qBJhuSTMCG3yVzb6qgtwZJ47QZmCBHF8HKQOnWJLrGwDTOhiRTL0Nf QluLaLpKkKcaD+cgISxVvRyjvRBFJ0Wqq/XVsNsBmHHYy2dxuwzzJSy9zcFki5vnYWGa9Tc5oX YpE4c8T4FpiCNg4rmuk1WciaLF5H8KkMkwIhgQyCXD9wT1I4I2jHUN/Y15SWL8mnK/guF08ZDd WQbWIPnB6RPgm9a5NX4DLK1YfdNTi3XhoPLFxt0SZP6drtCLKXBew2q8UpYbgwOSNHY7IVtEcJ cJA= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Sep 2023 05:05:29 -0700 IronPort-SDR: 3btV4OVI8RNYODwm1XbMQDlmqWQijaR4Ytic85YP0CLWv97BptziphRBsy7D4tZCK1jzIi9YqI Oankj/BPIDEC341tgE0buQB2/qwxZ6+Cf9kWxe26b7LJCjJu+jzrUhJsG7U/gJ6A2hwp3oBYj1 htdgtXMcBVsqpnWVagQicXixRjG6KJFdWj29Jrpc5EYVgSZ0ov4m/RXUigLvPiidN5utcULOHZ 6Cld2xMlvFOvqN/uq/ZJKeF9wUusa9Q7du7/jA75x7qNhfp5P/bpbsVrfZFkd96Y6SuMC9o7l1 Lrs= WDCIronportException: Internal Received: from unknown (HELO redsun91.ssa.fujisawa.hgst.com) ([10.149.66.6]) by uls-op-cesaip02.wdc.com with ESMTP; 11 Sep 2023 05:52:41 -0700 From: Johannes Thumshirn To: Chris Mason , Josef Bacik , David Sterba Cc: Johannes Thumshirn , Christoph Hellwig , Naohiro Aota , Qu Wenruo , Damien Le Moal , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 11/11] btrfs: add raid-stripe-tree to features enabled with debug Date: Mon, 11 Sep 2023 05:52:12 -0700 Message-ID: <20230911-raid-stripe-tree-v8-11-647676fa852c@wdc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230911-raid-stripe-tree-v8-0-647676fa852c@wdc.com> References: <20230911-raid-stripe-tree-v8-0-647676fa852c@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694436627; l=775; i=johannes.thumshirn@wdc.com; s=20230613; h=from:subject:message-id; bh=/fWmE+uB6+cLnKgUKo0l86vqhneVO3Sjo3PEyQRxI/Y=; b=Su1TKBOnkmZ402g2jaDHChVW8ZW+tVw98E6A9CWMfigW7vRAAl0HMgD4tmh3XAAV+1CX1c6RY 9K0VQimL/l8DGEapVFrsFibjCpMVk2VZI39rad98kMcRFKfL2ed4zTG X-Developer-Key: i=johannes.thumshirn@wdc.com; a=ed25519; pk=TGmHKs78FdPi+QhrViEvjKIGwReUGCfa+3LEnGoR2KM= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Johannes Thumshirn --- 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