Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp539601pxj; Fri, 11 Jun 2021 05:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+5pGXBUdAZ7d75UC2PLZCEQVAJP9qm4w0GU9zg7J84cXuba4B9NbScXK95LXVzhnS+/PR X-Received: by 2002:a17:906:b34e:: with SMTP id cd14mr3485958ejb.69.1623415145168; Fri, 11 Jun 2021 05:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623415145; cv=none; d=google.com; s=arc-20160816; b=tQNBlfmsx9VXqF9D6CuURKXyLFPyUTBvqEEf7DVRuNokhzAYMLy9w2rq5LEh4jvlBD PolPXrkCbWkOA30dWkLlGCXe26JwRtanDq/76Q9L+wKjmCge9rm2niKVpmZVpHrXaTWW 1JELiooyj2SbPG5gzhUrYumKn33OHM8cXDuC9cBU/gFYOw/TWkTeiZ6snQoMusATlTA3 U+jGABgZFK0B+jGVlvHrPtZC/Nrzp//1z+SZelwCWg8Jru4WCSRBjB9DrPiagd4r/ESg kj09+H6QDAwInKFTJxmG8YOkYYEMxMuLaQOqrcIQEWaoNrMbrfVSXU2vIqbAmmykGZDQ m+Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=WbubFKHB1YFq8+cLZPFZsL/iGgDagPXwRBHcKJ3qDmE=; b=LuuJP23YNjiE6DfJh+MrYnDpGN+4gRXclXrxdHcbmHx1lVfFABx9rpCNv815yIpL2g XNiyHAds6rfK56/qH8xP7Uyrya85y+fJOjOHnoia2Xo+Z9ahMPLG1MlTbQgWSYm4D6OD kVNWu80uAsrM9fuy2GNJt5+wQ01xGK9/MM6ZGVpPHIjQqAtkFc2U2/gAM006o4gyv4x2 2dhKo7XyaPelwMM/AD0jIbL6ctySZN/wOZqYFh37NogKplPV3N80nUZTZREE5u5iRQ+t vzgMx6V70RmqDv5rBoqsg4ulF8FK2M4mWk02SBOc1W/fc3P+rtv1mIeFZunPwFOMqMrG 4Q4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=2peLsmD6; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si4776933ejl.292.2021.06.11.05.38.42; Fri, 11 Jun 2021 05:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=2peLsmD6; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231199AbhFKMis (ORCPT + 99 others); Fri, 11 Jun 2021 08:38:48 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:34492 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbhFKMir (ORCPT ); Fri, 11 Jun 2021 08:38:47 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 035D321A48; Fri, 11 Jun 2021 12:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1623415008; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WbubFKHB1YFq8+cLZPFZsL/iGgDagPXwRBHcKJ3qDmE=; b=2peLsmD6OKg84vX05jlKeSSzhc+WJwWLotAAvUINC/onEs9TZQ3AbPHeWdfS+bddiLLzh6 0c23UqVPl326Qf2GLCycEtdoY9uZtjge95WU9F1EOEMHDadCrMP+/1vg8CqJ73tLjxiDvw Lz8qAG0S58lqlW3qCvtVoDZc1BMWInk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1623415008; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WbubFKHB1YFq8+cLZPFZsL/iGgDagPXwRBHcKJ3qDmE=; b=3v38kvCKiCtteusW+zZk3tG/vFy89Y7uWUqGSygE7PibOC0N0H5mMQie3rH4X648s2bwn9 4RHgSq2/8HIoKtBQ== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id ED944A3BB1; Fri, 11 Jun 2021 12:36:47 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D0B2EDA7A2; Fri, 11 Jun 2021 14:34:02 +0200 (CEST) Date: Fri, 11 Jun 2021 14:34:02 +0200 From: David Sterba To: Christophe Leroy Cc: Chris Mason , Josef Bacik , David Sterba , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-btrfs@vger.kernel.org, linux-hexagon@vger.kernel.org Subject: Re: [PATCH] fs: btrfs: Disable BTRFS on platforms having 256K pages Message-ID: <20210611123402.GD28158@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Christophe Leroy , Chris Mason , Josef Bacik , David Sterba , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-btrfs@vger.kernel.org, linux-hexagon@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 05:23:02AM +0000, Christophe Leroy wrote: > With a config having PAGE_SIZE set to 256K, BTRFS build fails > with the following message > > include/linux/compiler_types.h:326:38: error: call to '__compiletime_assert_791' declared with attribute error: BUILD_BUG_ON failed: (BTRFS_MAX_COMPRESSED % PAGE_SIZE) != 0 > > BTRFS_MAX_COMPRESSED being 128K, BTRFS cannot support platforms with > 256K pages at the time being. > > There are two platforms that can select 256K pages: > - hexagon > - powerpc > > Disable BTRFS when 256K page size is selected. > > Reported-by: kernel test robot > Signed-off-by: Christophe Leroy With updated changelog added to misc-next, thanks.