Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp114575rwb; Fri, 4 Aug 2023 09:57:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvIiEK3lQx/B1wgDxYP/TmS0T8OEU43IrrRruNn/yIl13F/QEuvKjJttuhDQNqx9hrtR7/ X-Received: by 2002:a17:906:4e:b0:993:f497:adbe with SMTP id 14-20020a170906004e00b00993f497adbemr1887532ejg.19.1691168250083; Fri, 04 Aug 2023 09:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691168250; cv=none; d=google.com; s=arc-20160816; b=f6N4GfXcRcLyB4one6PVU7u8T2lnG/MTBHR3I+XfxwuqokQtooJ4tcN1zWM/iJ23DZ 4xeSB2Gx1SSF4EBfi7tTPbR1LqpZO7QhgniLhvumKyLWXm/kgt6ku0HjCnu9HRAzhwO2 kEQNhqNzaTIdB30jhZYKvYekvM4ehmosXV7cnpTpJhcichBonDpYDDxKcA5ZQXad7IiC jspzyMq8Ir7hyuypOq8Cu3TkHhNjxFuk5qYaSn0ZCWw0ejnnDM3z11pDav8u77Jjw8t5 Mf1aouYmXGSfhtKZAJS37hh5HQVpL85z5QTt+RiErRaIgIrvrGvy+LJPraGPp6Ka0RMp yNAw== 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:reply-to:user-agent :mime-version:date:message-id; bh=Opn1A1UMsRLxMWdmZU9EYLs6ryLH+2Ac0WDGwx1tt30=; fh=WWZIEmEoTwXCdNXqMozTY2/y2oMrxbdvFs+V7HuPWNw=; b=t0WSdWcRFpFDZADNmnhcSG/JxOn1ATLoVr7yCYqqPY1UrQweN8DR+iJ9503i/m5gPD 4YbbGXHGCfrWZZJX7nfUjBZxQyu0yA36i8M2p4Bjg7umexAfW82L+njJfgviIdaxbFKF qfzzra6vX/Doj1QCpCf6zbBQcSti40L1Db1tbPYnb08opWr708Ttnvm1oNs2Pg9M3Jjk ocf/VAmu1ka4+nbvpWWGfKt+ygNCloh16Jh/kNIFKUS3ZY62S12vkuM0uOE9JqVlOzr3 1to9bd9GRijFj5X29qwBBgaNjJTkDWIfRg+20fBMIEf6gLCuHntDjpp8fG79zONQMD16 jBDg== ARC-Authentication-Results: i=1; mx.google.com; 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 jt4-20020a170906ca0400b0098cf1b12715si1821079ejb.581.2023.08.04.09.57.04; Fri, 04 Aug 2023 09:57:30 -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; 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 S230163AbjHDQ2a (ORCPT + 99 others); Fri, 4 Aug 2023 12:28:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbjHDQ23 (ORCPT ); Fri, 4 Aug 2023 12:28:29 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 855BF170F; Fri, 4 Aug 2023 09:28:27 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qRxf6-0001Qz-Fw; Fri, 04 Aug 2023 18:28:24 +0200 Message-ID: <0eec59f5-2f9d-1058-6323-3177de82bd55@leemhuis.info> Date: Fri, 4 Aug 2023 18:28:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Linux regressions mailing list Subject: Re: XFS metadata CRC errors on zram block device on ppc64le architecture Content-Language: en-US, de-DE To: Sergey Senozhatsky , Dusty Mabe Cc: Hannes Reinecke , wq@lst.de, Minchan Kim , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , Andrew Morton , marmijo@redhat.com, Linus Torvalds , Linux kernel regressions list References: <20230802094106.GA28187@lst.de> <3f36882c-b429-3ece-989b-a6899c001cbd@suse.de> <43843fec-f30a-1edc-b428-1d38ddb1050f@dustymabe.com> <20230804032523.GA81493@google.com> From: "Linux regression tracking (Thorsten Leemhuis)" In-Reply-To: <20230804032523.GA81493@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1691166507;5933620c; X-HE-SMSGID: 1qRxf6-0001Qz-Fw X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 [CCing Linus and the regressions list; fwiw, initial report is here: https://lore.kernel.org/all/b2d40565-7868-ba15-4bb1-fca6f0df076b@dustymabe.com/ ] On 04.08.23 05:25, Sergey Senozhatsky wrote: > On (23/08/03 17:32), Dusty Mabe wrote: >>>>>> 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. >> >> Naive question from my side: would this be a candidate for reverting while we investigate the root cause? > > That's certainly a possible solution. > > But I don't quite understand why af8b04c63708 doesn't work. Seems Christoph and Hannes (thx to both of you) got a bit closer to that, but as this apparently is causing data corruption and we are close to -rc5 I'd like to bring the following up now, as it gets harder to discuss these things on weekends: Should Linus revert the culprit for -rc5 if no fix is found within the next 48 hours? Ciao, Thorsten