Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp948448rwo; Wed, 2 Aug 2023 06:41:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAbNo+c02y2ysI17TL8dvb0SFe6z9lYkka7YZsmlChAC/pf3Ik42UmOf4ne58ahiI0k29N X-Received: by 2002:a05:6a20:9155:b0:13b:9e04:5466 with SMTP id x21-20020a056a20915500b0013b9e045466mr16722920pzc.49.1690983711889; Wed, 02 Aug 2023 06:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690983711; cv=none; d=google.com; s=arc-20160816; b=SIyrl7WOYYS3AwM7iQg/eOY6CqsiI2KoppWuabHCxZRd7WxZYSBXDpRJHJso30EUXf rrA9XM5lq3Q8p2nFdboKplnySBtrgxdl44u2yTVSOg1m2v8HKX5alk1ZrIKN+5dGhFuj NFXEoiUEB4knwWCwsgQu2W4HHsLmNeV/15PtOF5PTeInHunt7eogyMKR0fTv3ikUicCk kE5v54L0nBdigyRnyPfiU7ouy/Ob0H8F2izbay9wQyXYOUlyTaH5BPUapC4LD78M2XOa StUb9+Js+6YNtiOnp77TIBq3vrklkQEB79rimgepL3bCsiCQNu2oKk51oNyn6UpIjy4Z L69g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=zVi/JMA+En+qL3o03VV3UqWYh0j95fdHyEoI1MTCf5w=; fh=6q1LYgx5yHX1cSWDIf2tl8mNVbfwthSeStQ/D1lvkc4=; b=YCoqpqHndis90xU7cBrFSWEv2okv4+G/jjet7CjeOyrboE7X2i6gK1pqyxKashQ6fC O6q6cwBZlUGROPl7nNzfzvfmehjp42rfEQzUwc6QAez6VONLNmo5vzATV9nma8i36k3p dkzNwu1OfFbK2VkGwsHOmBJZLKkaWqbStZPEh8ewIPyRTCE7L2SxR9vKtULy6xicX1b3 MCUAn1g1pMbP924OZhlXUElEOlKKouhuQxGKMLIkqDjraXQrn0/AscXSLMsuoCuV7lmY TPbulEc3D2cYmm/bQDyi1bsCWQbR8OFe4ZnOMMDZNIh5Ii5JwYczzUVWYRWNW1xeq8+V OXAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dustymabe.com header.s=fm1 header.b="AivpHne/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Esw01sxq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 129-20020a630187000000b00563f2833cdesi10773394pgb.112.2023.08.02.06.41.39; Wed, 02 Aug 2023 06:41:51 -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=pass header.i=@dustymabe.com header.s=fm1 header.b="AivpHne/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Esw01sxq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234297AbjHBMBG (ORCPT + 99 others); Wed, 2 Aug 2023 08:01:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232797AbjHBMBE (ORCPT ); Wed, 2 Aug 2023 08:01:04 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 263D810C1; Wed, 2 Aug 2023 05:01:01 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 853545C0074; Wed, 2 Aug 2023 08:00:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 02 Aug 2023 08:00:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dustymabe.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm1; t=1690977658; x=1691064058; bh=zVi/JMA+En+qL3o03VV3UqWYh 0j95fdHyEoI1MTCf5w=; b=AivpHne/Xkk6rrPy3ffO1LHbaldmPUFJ2k0jhJlQK gCOI/52kxSG+njHESH6p8RWfv0gf95JdH19GO0YuDqzBV6p8gTrUIlvUYFlB1Dx2 ehnqGb5TPOAjd8MGdggkvlWR6SxUmi79le/H951Nee14PPvgxRl3gD4g4pixEBOR 9DWzR8oduZ+b2IPhdkzqwhvZKpaP7eiBiLz0NnBHXyrCTuFYjHdOk3c7yHFfz6Tq +5v4pKy+iaCu4BZ6XszHACJgHMhU74ne7QsZQsr8uTKrt9Ts2sFpwxgqtu/fFxy/ 1r2IzDLaixAZSIcNKHA4XfNROk7Pc9lnrWqIRA2QF+GAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1690977658; x=1691064058; bh=zVi/JMA+En+qL3o03VV3UqWYh0j95fdHyEo I1MTCf5w=; b=Esw01sxqLELb0Fu/EdYdkRiRW9z07egIRvlhZADXWi4TRh4VLLv 8VGsVTd/GYKGRuYNvsfXOtKhAteLatyktsz5QWHEiLkQ5MY5wl0ImMXTl9oJxiUE X+1RhkzQ+f3c9HuOMdPEKwepurDonW2t9TmrePdfRUg/oFg4Ns2wrBC0IUyAarjM bvQj5tMve/p7rReKO81S79Mc/8OxNUXwQpVlIcjXsqKX00utsb34W5x3A6GVxzmw JB/hu9PenIk5RSaYjx0R08mbz16usTN7dEVD88q3QHe0i+1ASUcSAFYBv2u//IDa WUeCKfJO0Q3l9ZkDBDPMzgOzV89R6rg9jMA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeekgdegiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhushht hicuofgrsggvuceoughushhthiesughushhthihmrggsvgdrtghomheqnecuggftrfgrth htvghrnhepheejfeetudelheduleeileekveegveevfeegfffgveeihfegleettdefffdt gfdvnecuffhomhgrihhnpehfvgguohhrrghprhhojhgvtghtrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughushhthiesughushht hihmrggsvgdrtghomh X-ME-Proxy: Feedback-ID: i13394474:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Aug 2023 08:00:57 -0400 (EDT) Message-ID: <43843fec-f30a-1edc-b428-1d38ddb1050f@dustymabe.com> Date: Wed, 2 Aug 2023 08:00:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: XFS metadata CRC errors on zram block device on ppc64le architecture Content-Language: en-US To: Hannes Reinecke , wq@lst.de Cc: Minchan Kim , Sergey Senozhatsky , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , Andrew Morton , marmijo@redhat.com References: <20230802094106.GA28187@lst.de> <3f36882c-b429-3ece-989b-a6899c001cbd@suse.de> From: Dusty Mabe In-Reply-To: <3f36882c-b429-3ece-989b-a6899c001cbd@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 8/2/23 07:03, Hannes Reinecke wrote: > On 8/2/23 11:41, Christoph Hellwig wrote: >> On Tue, Aug 01, 2023 at 11:31:37PM -0400, Dusty Mabe wrote: >>> We ran a kernel bisect and narrowed it down to offending commit af8b04c6: >>> >>> ``` >>> [root@ibm-p8-kvm-03-guest-02 linux]# git bisect good >>> af8b04c63708fa730c0257084fab91fb2a9cecc4 is the first bad commit >>> commit af8b04c63708fa730c0257084fab91fb2a9cecc4 >>> Author: Christoph Hellwig >>> Date: Tue Apr 11 19:14:46 2023 +0200 >>> >>> zram: simplify bvec iteration in __zram_make_request >>> >>> bio_for_each_segment synthetize bvecs that never cross page boundaries, so >>> don't duplicate that work in an inner loop. >> >>> Any ideas on how to fix the problem? >> >> So the interesting cases are: >> >> - ppc64 usually uses 64k page sizes >> - ppc64 is somewhat cache incoherent (compared to say x86) >> >> Let me think of this a bit more. > > Would need to be confirmed first that 64k pages really are in use > (eg we compile ppc64le with 4k page sizes ...). > Dusty? > For which page size did you compile your kernel? For Fedora the configuration is to enable 64k pages with CONFIG_PPC_64K_PAGES=y https://src.fedoraproject.org/rpms/kernel/blob/064c1675a16b4d379b42ab6c3397632ca54ad897/f/kernel-ppc64le-fedora.config#_4791 I used the same configuration when running the git bisect. Dusty