Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1832329iog; Thu, 16 Jun 2022 15:04:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uipUbYGjsotOZzRZXVPvjNNjdtMtv3McU9PR4DvnVf2v5BCYjzSdcRMVvUiSkxW8mh76HJ X-Received: by 2002:a17:90b:3806:b0:1e2:adc5:d192 with SMTP id mq6-20020a17090b380600b001e2adc5d192mr7293211pjb.223.1655417097643; Thu, 16 Jun 2022 15:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655417097; cv=none; d=google.com; s=arc-20160816; b=ak79WoT815KgdhuW+oDNmuFh633YeOeWLHxJKk/7GpUizW0Gzps7/zJdqfQ4ZhjULm 6vQHP9aLMH/csN8Y95iEi0Pfe0cgMuPIsKpC/foB7lBAFBIQJO5vpEywgHMtSZziln5u pc/d4JdRpjO0PfKnlFdw6/Lj2Vwjjwd1Rn9LnLAuK5fKn5j9ZT9Pd1wG4RAslkmdMI7q PsmJc+JMZfVThHGg3fnUyZGG7ebLRhJVidWt2jtupE5tMaa+ybnCIZDhukEqWPIWURaA plJMPKddL969Kp+/vgOXoSNVLQuOM6TPI6SC06k1Wrbtga/Jg/q4N7T8VUmMxJFmSR/S AHvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qT5M40xVA9YnszhgxwSPNtZNbPHFTpABYZWNZDdTHlI=; b=Un3MFV4c/HwJ+o2pgg5jCHOw9Q0pzQ8IhizLybbB1LWYBjOhvROmASfFaqA0eo/skY /HpybN+RFhoDLSaXrvtuUW7c+30c+1xSjUWGa6cLht6dOmvtnMBsU+6dSEz5QvB5ndjC 9OUES/CVjeXHgOEY1/1bFdl3G6N7XWry82dz9/+3AR+6lIGJrTbSQG02iJWXuqEOW6BH PHXksEJph3bUVixNbqQI1nzitVUkfsoh32LWI5w2UMZfW3EEUIcZ1sTfRprQhmbPjDqj sMAcYmWRcP9iXh06PI/f4SwDcjhHe6LS1B/4dF7CjZ0F1JEdw2PIbbzaFWGeGSoCRQUb RjKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BQnYHJKQ; 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 n22-20020a056a0007d600b0051cb8b91477si3515440pfu.344.2022.06.16.15.04.44; Thu, 16 Jun 2022 15:04:57 -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=@infradead.org header.s=casper.20170209 header.b=BQnYHJKQ; 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 S1379128AbiFPVRb (ORCPT + 99 others); Thu, 16 Jun 2022 17:17:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378629AbiFPVR1 (ORCPT ); Thu, 16 Jun 2022 17:17:27 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9B7260B80; Thu, 16 Jun 2022 14:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qT5M40xVA9YnszhgxwSPNtZNbPHFTpABYZWNZDdTHlI=; b=BQnYHJKQUoFq1xNokbxBotCcO6 fyX8/6LmROrO9P++bZSv3kWeFXeZaugSW6NQmDIfxNF8lEhvvHaFfEJ412vfN2qShpy68qrAfbVWD VYapUQ8KpjH42R+a1yT+iOjZlKpXZqk/a95v3lJsgBYV3qmSRN4/+vuACmsP9lSj2LdoqHRosNHWs i4j/UveqfwOJk0K7CfX9G6VN5EcLjiJCu5JCbbT+xWw3liZRBsAy//H94/Ai0PouDtrSzAkj0yc+p 3SEVjc0nAAEAISk1FZUUGzM/iHhbnx8ZI37z40tU+VtHw+BeZWW38OUStHwWNKXlfResq3o6eUQaI xOg3rZmg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1wrX-002H7V-F4; Thu, 16 Jun 2022 21:17:11 +0000 Date: Thu, 16 Jun 2022 22:17:11 +0100 From: Matthew Wilcox To: kernel test robot Cc: David Sterba , 0day robot , LKML , linux-btrfs@vger.kernel.org, lkp@lists.01.org Subject: Re: [btrfs] 66a7a2412f: xfstests.btrfs.131.fail Message-ID: References: <20220607154229.9164-1-dsterba@suse.com> <20220616143710.GF25633@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220616143710.GF25633@xsang-OptiPlex-9020> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Thu, Jun 16, 2022 at 10:37:10PM +0800, kernel test robot wrote: > btrfs/131 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/131.out.bad) > --- tests/btrfs/131.out 2022-06-13 17:10:24.000000000 +0000 > +++ /lkp/benchmarks/xfstests/results//btrfs/131.out.bad 2022-06-15 18:54:06.505508542 +0000 > @@ -2,9 +2,9 @@ > Using free space cache > free space tree is disabled > Enabling free space tree > -free space tree is enabled > +free space tree is disabled I think I know what's going on here: compat_ro="$($BTRFS_UTIL_PROG inspect-internal dump-super "$SCRATCH_DEV" | \ sed -rn 's/^compat_ro_flags\s+(.*)$/\1/p')" if ((compat_ro & 0x1)); then echo "free space tree is enabled" else echo "free space tree is disabled" fi dump-super is reading the super block out of the page cache, but this change makes the page cache incoherent with what's on disc. We could fix that by invalidating the page out of the page cache, but it may be easier to just dump this patch and fix how we use the page cache to write back the superblocks?