Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp708745rwo; Wed, 2 Aug 2023 02:59:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFEgJMfQeSAiXhbaIEc4BFD2vUYDS8F2YqqgGG5ymOMg7ekp9Yo5g853LwHjF0bH/CCoXvI X-Received: by 2002:a05:6a00:c8f:b0:680:98c:c593 with SMTP id a15-20020a056a000c8f00b00680098cc593mr18545617pfv.7.1690970355353; Wed, 02 Aug 2023 02:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690970355; cv=none; d=google.com; s=arc-20160816; b=Rq/GMdxG5FjS9Ws+6JIa8OQ3kkzWwKIfIaySzJJ3dsZmkLGAWzflwBRo6+BEjvsKZ1 9LUSBtAvCQOYlEdMKPvv3ZUS1x+L5hqJxl1jJebCplCaAqU/hjR9GyVUjkug+gE1hx9d 3OW+ro0xtWkhyy9ubBqDd6jvCEKjfBgetcHUQKlSyr6kx2ww5+sDbaBC9gclzdu5Gajn jy3c5DheUWxRKXAAanWXHiq4snyWu+a+QmL0fZ4h1yVU2M5ZCcBuBCQWES5dfrdZu9Nm ddSmt7AGDBy4RIcWI7WlpEgsIYMCu7qnEi5NFW4Qzn4kr0B4boxcodsDon9Z4K7JrBtu 9vmQ== 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:reply-to:message-id:subject:cc:to:from:date; bh=/T/S9ZwuYdhWO3j6hYeQ9YesupvvaaWXFszAEs5YH+s=; fh=39MdKrka4sSlRj+e3kUtanphb7NsGBPUMe9d0yjsr6k=; b=a8GW18BoZcBiRU53zZu2qFLdsJRFs5M4/t/Yd9Rxe2BVupFqjbYQT90g6jtqmbr/eB su4Kq/O9mEnXB60UUBh9yaXkXrNn0/++DSqFl8R4xKhI73A1FeigJwv7sHVbzfWoOqdW HeLGb1lruygZnWrIGven3C1BjBw7tcZBm1Du5B8Om7jTodHSepPrGZvoTb5FRQpRr9Q9 xX8EszzWfVud0AXF15nts++32KED75ogbQZt/WpMj+vU76DEFDACO66rlsmHgjy79DiC CnwItW5MfcbMFOn2p5WpYtCRUWeJdbcLbCEHRSwomE6scHaPaE0IsLW2+FR17T+JOZn6 sLVw== 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 u11-20020a056a00158b00b0066e96a581c8si498128pfk.261.2023.08.02.02.59.01; Wed, 02 Aug 2023 02:59:15 -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 S232741AbjHBJlU (ORCPT + 99 others); Wed, 2 Aug 2023 05:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231683AbjHBJlT (ORCPT ); Wed, 2 Aug 2023 05:41:19 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9801716; Wed, 2 Aug 2023 02:41:10 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0687A6732D; Wed, 2 Aug 2023 11:41:07 +0200 (CEST) Date: Wed, 2 Aug 2023 11:41:06 +0200 From: Christoph Hellwig To: Dusty Mabe Cc: Minchan Kim , Sergey Senozhatsky , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , Andrew Morton , marmijo@redhat.com Subject: Re: XFS metadata CRC errors on zram block device on ppc64le architecture Message-ID: <20230802094106.GA28187@lst.de> Reply-To: wq@lst.de References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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.