From patchwork Thu Jan 20 02:10:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12718221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1041C433F5 for ; Thu, 20 Jan 2022 02:10:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 439D26B0072; Wed, 19 Jan 2022 21:10:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3E8246B0095; Wed, 19 Jan 2022 21:10:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 288E86B0096; Wed, 19 Jan 2022 21:10:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0019.hostedemail.com [216.40.44.19]) by kanga.kvack.org (Postfix) with ESMTP id 183296B0072 for ; Wed, 19 Jan 2022 21:10:28 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id CF3FF82336A3 for ; Thu, 20 Jan 2022 02:10:27 +0000 (UTC) X-FDA: 79049036094.20.ABE0453 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf04.hostedemail.com (Postfix) with ESMTP id 5533840012 for ; Thu, 20 Jan 2022 02:10:27 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB94C6145A; Thu, 20 Jan 2022 02:10:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C221BC340E3; Thu, 20 Jan 2022 02:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1642644626; bh=9898CPybZFKOL/ZsSS7lbJWoMK1O5yrkbiG1FbqKvUE=; h=Date:From:To:Subject:In-Reply-To:From; b=GdKUJsMoUcQ1rPyEmH6gXQDbjDIWCdxxBP5Q2SWfhlIrQPPxs+iRBQI+A1qLY8XxY gobUpIefRB5jtFrNvzygYnTCvRJ4mmgZfM/pRIrfwgvhm3bKj9qQeHzB3KsxqHq9Fv 9BZViO4cN3ULHtXBn1sZxIh51+9vstv2PERS/Mis= Date: Wed, 19 Jan 2022 18:10:25 -0800 From: Andrew Morton To: akpm@linux-foundation.org, clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-mm@kvack.org, lkp@intel.com, mcgrof@kernel.org, mm-commits@vger.kernel.org, nathan@kernel.org, ndesaulniers@google.com, torvalds@linux-foundation.org Subject: [patch 51/55] btrfs: use generic Kconfig option for 256kB page size limit Message-ID: <20220120021025.nvxcChPmO%akpm@linux-foundation.org> In-Reply-To: <20220119180714.9e187ce100e4510de3cd9f7d@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=GdKUJsMo; dmarc=none; spf=pass (imf04.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Stat-Signature: j5ow93ywd1eef5eprznyykhdrneg7hxc X-Rspamd-Queue-Id: 5533840012 X-Rspamd-Server: rspam12 X-HE-Tag: 1642644627-528253 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Nathan Chancellor Subject: btrfs: use generic Kconfig option for 256kB page size limit Use the newly introduced CONFIG_PAGE_SIZE_LESS_THAN_256KB to describe the dependency introduced by commit b05fbcc36be1 ("btrfs: disable build on platforms having page size 256K"). Link: https://lkml.kernel.org/r/20211129230141.228085-3-nathan@kernel.org Signed-off-by: Nathan Chancellor Acked-by: David Sterba Cc: Chris Mason Cc: Josef Bacik Cc: kernel test robot Cc: Luis Chamberlain Cc: Nick Desaulniers Signed-off-by: Andrew Morton --- fs/btrfs/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/fs/btrfs/Kconfig~btrfs-use-generic-kconfig-option-for-256kb-page-size-limit +++ a/fs/btrfs/Kconfig @@ -18,8 +18,7 @@ config BTRFS_FS select RAID6_PQ select XOR_BLOCKS select SRCU - depends on !PPC_256K_PAGES # powerpc - depends on !PAGE_SIZE_256KB # hexagon + depends on PAGE_SIZE_LESS_THAN_256KB help Btrfs is a general purpose copy-on-write filesystem with extents,