Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2338951imm; Thu, 9 Aug 2018 11:07:45 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwKZ4pO9vIbGL9MjckDr+dQdiRXRZYZl8W3Lbu9UGpAKVVVOJhxj1eKuTDrOfsXrJ6aa7ta X-Received: by 2002:a17:902:4001:: with SMTP id b1-v6mr3016809pld.208.1533838065863; Thu, 09 Aug 2018 11:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533838065; cv=none; d=google.com; s=arc-20160816; b=AKPkEfVmB+56kWatA1PPfTfSPfpnxlO/FjNvVZuH7hgzJzdX6lVGGLJK/CgJKmH1Nm a/RV/bW8AJqEiF5PFkk1ZdlwGkjIg3Wr2qcPgBuq3f7t83XYELBE7M6keEP94TbUxdmi lOHcdLinry93qKloBDmWXy/Di2Hduno+UYTOwDuAjJs0QXdOlOafXGIVezkzF9h5NM49 z/mCGKi6pAMJ/wPfZqMxMfEIq4PahNBIKfHcTWRiGv1pmY/hHNlFGiq03/TFiaHqc98U 0GL19bZbXFTkpBsQzrKNlbbnfNE2SFvaO8PPhucI8S0SSU14IsBe4zTNLPizsNtnIKg0 YBMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Wfgd7eS27CHVYb6s8wAx2iBTeRKXaiiHZGYV1m76CIY=; b=0o5nb2IRncphJ/l+ZYYYQFMJMFh+i9wo7S7OpbF0j2VDzj1XREa0FwdVCgQf1m+CXS a5umAjvJAs0KxnlTPmgazGxY05UjMk2z7FW+1eW4lgyP9+OxlF/GK9bQ44efcThBokip JpCIHGqyylpcp3zMIUOomTLRe9efU97nbRmtp22aG5/07zGc+bXiB17GLAg6enARqVfW 9Mm3R5fx5oWEWTwYWNmV7BFNdmr1474XLPDsj9hew2BhVLzBG/4pEq8KTRGxaKiSTf3l neK+b+DSzcJE/hMjHG3hLfeysK7Bb8cV7Gn/fu+t0WQmoNvzuICnN6755PPxuBWJtEVn nyYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=izS857VL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x16-v6si7714580pgf.311.2018.08.09.11.07.31; Thu, 09 Aug 2018 11:07:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=izS857VL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727624AbeHIUc3 (ORCPT + 99 others); Thu, 9 Aug 2018 16:32:29 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36298 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbeHIUc2 (ORCPT ); Thu, 9 Aug 2018 16:32:28 -0400 Received: by mail-pf1-f193.google.com with SMTP id b11-v6so3218029pfo.3; Thu, 09 Aug 2018 11:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Wfgd7eS27CHVYb6s8wAx2iBTeRKXaiiHZGYV1m76CIY=; b=izS857VLce4+vKf6pqyvWHxsT8Bgz1Ctmlrp8CpmNt2rkmztvLECkl4cd2p3+KSs7o Nb/QtcoPrjpBe2Y845qzvrez62xM9cjEfZR9w32QjxwsXQ3Oi/anXQUus1ihRzDH00ZA Qehml7FvK9ujWmtqZ4qvdCrDDr486WE3/3fRAKOwE+hg8zkpFHVbFYwoaUZU5EV+dL7o b138nnK4WsBeQJPGVCG1xgFX8TNLFIoF7BVob30PiUao0xnEqUxYNbu6d5mWq9s2CVIl QU87rUOF6AEkf3Cn5hyAsAY76VvYdLZQNts4sGFZVIzfjt32AEk2hWA+56njtC0t39SR uisQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Wfgd7eS27CHVYb6s8wAx2iBTeRKXaiiHZGYV1m76CIY=; b=mmafWhlQNukbVf6JnWx9OXEdE1XmTVLjSb3vtNafLE8aBcjX9PeQWvEu74Kx60J4eY hYl6CaEBwdhZYoOIv0hFTvHGPXgzZ/2MbwlZEtmofTicpafxJBHfo0SlkJ4wO+U2/gpm 9QrnAfyVfPu4uFZP+ygltbOpycKG6Lw9mSY0hP2CEpu2plDa6uB9yPFACSuSr7Viuyxr NFyv9pH36dEZrNXZ9DcnrfazXt0ukHla6Uiz0MrlZdh2U5DXXUvbnFduo356SX9z3KFV +qjkOV0Vb9LGuQYpMcT5HSshfVKnqhNrUCXO4BG9ZsLWntOw6yg5t/mvRmsgq0w9vUEr d2KA== X-Gm-Message-State: AOUpUlHqOV4xp1/rEf56RkWici6Dp5DOaml7Bk92YT1EVOjRhiJKPDIt SdHWrsa/uT840lN/s2QMFJs= X-Received: by 2002:a63:951e:: with SMTP id p30-v6mr3131052pgd.318.1533837989628; Thu, 09 Aug 2018 11:06:29 -0700 (PDT) Received: from localhost (h101-111-148-072.catv02.itscom.jp. [101.111.148.72]) by smtp.gmail.com with ESMTPSA id o21-v6sm12661852pfa.54.2018.08.09.11.06.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Aug 2018 11:06:28 -0700 (PDT) From: Naohiro Aota To: David Sterba , linux-btrfs@vger.kernel.org Cc: Chris Mason , Josef Bacik , linux-kernel@vger.kernel.org, Hannes Reinecke , Damien Le Moal , Bart Van Assche , Matias Bjorling , Naohiro Aota Subject: [RFC PATCH 17/17] btrfs: enable to mount HMZONED incompat flag Date: Fri, 10 Aug 2018 03:04:50 +0900 Message-Id: <20180809180450.5091-18-naota@elisp.net> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180809180450.5091-1-naota@elisp.net> References: <20180809180450.5091-1-naota@elisp.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This final patch adds the HMZONED incompat flag to BTRFS_FEATURE_INCOMPAT_SUPP and enables btrfs to mount HMZONED flagged file system. Signed-off-by: Naohiro Aota --- fs/btrfs/ctree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 8f85c96cd262..46a243b2f111 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -271,7 +271,8 @@ struct btrfs_super_block { BTRFS_FEATURE_INCOMPAT_RAID56 | \ BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF | \ BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA | \ - BTRFS_FEATURE_INCOMPAT_NO_HOLES) + BTRFS_FEATURE_INCOMPAT_NO_HOLES | \ + BTRFS_FEATURE_INCOMPAT_HMZONED) #define BTRFS_FEATURE_INCOMPAT_SAFE_SET \ (BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) -- 2.18.0