Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19773764rwd; Wed, 28 Jun 2023 14:11:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4q3CV2oS50MYD8B7WW021Bkm4itA9vGLTxluUwIFgmOZjLJkHPFVuvbb1H0Vj5wxpRTqec X-Received: by 2002:a17:907:9309:b0:966:17b2:5b0b with SMTP id bu9-20020a170907930900b0096617b25b0bmr29844038ejc.49.1687986666921; Wed, 28 Jun 2023 14:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687986666; cv=none; d=google.com; s=arc-20160816; b=PNS7morJbFDBjDCgctytCkB4yEaUgU2by1qSHoF1FEGaWd3LgKTl8g/feyJBEiZm4i +d7qJAjx1eu6yAGee5nADuuxey2Tk2hBnAFokYKz9xLCgAnkQ9CSKh17heFlV9pqV94L hUwteOvrrqMdP9jnJDTkq3i4cJprtiDBR/7m1jRlRyfwBad1vpcrsbc0hmPLF4LcqxwV p3Xojngdpez1lhn+TacjXveqNPxYOSTX76+z6HZPRBynYeWC+iHwxF8Sj7pe6KJnPhl+ znB5rDTAIEaH72AthpRH1WO+yWekjrmglcqcuIbU62TM1YB3k6F4OaDIyBgTgWA7SrKY bplQ== 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:dkim-signature; bh=ciE7wPwGlLP5hh+CkZMsNJNeE41TUQznpNx6pNMaRRI=; fh=ehQUeGat43H2XNjmyPnlzjh4k4Urv2xYB7xuGWwZUm8=; b=qWDi7I1Fl/BZZTl+tKArPvqvV8V+INpVX4yIhZ/GoOUFOJcaLfVK+9oc+vke0gHLGx +4xanJu5ejjhAO/yjanN6kB+z/hEKNWems70WL9zBqP8U87yWtpo7m1aybEiofq/DHd9 yF88YDja2NIFRGuxR5g7XgbVaIARo3Ue8sQNJgXNPdiRWDtWJAGcwjMsTocPJ9m0wrcq zgqOA6xGBVIIWrfQAPVV/+IkTgoYDNX/FiYfiuoUmV3IBm0a9FMshLj991hLyospTEWC CFlTiXtIh+ec6Fc8VkJTNLEF1unKe9hYkiYFZa7wlbp80RU+z6TqoTMInym0g9BDq8pD 3VYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=E1ETyBIg; 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 ca4-20020a170906a3c400b00988bab51330si5892046ejb.633.2023.06.28.14.10.33; Wed, 28 Jun 2023 14:11:06 -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=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=E1ETyBIg; 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 S231543AbjF1Up4 (ORCPT + 99 others); Wed, 28 Jun 2023 16:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231415AbjF1Upy (ORCPT ); Wed, 28 Jun 2023 16:45:54 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 653651FC2 for ; Wed, 28 Jun 2023 13:45:53 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-656bc570a05so39154b3a.0 for ; Wed, 28 Jun 2023 13:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1687985153; x=1690577153; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ciE7wPwGlLP5hh+CkZMsNJNeE41TUQznpNx6pNMaRRI=; b=E1ETyBIgQsGQgasljZx9V29BYsEXMwpSWRjjIQXeh+TalfY4vVLpFNoLg6c3WWUtTZ M2kitqzDzK45TCpowZ+9lO56+k7pU5hJApEzZzpzcmIWjCHjIgxl5rGnQBYDLlLwsaPE aI3nqoAk2L9MbjxW0dsiqVDu7v3EFW/hRjUXPa6raIhcPsuqNR7hAWM7HMrSLZ2mGncG fzoJdURHwgB68706aWlsoJDgVIuqWHY6neyf+jaL8T7M1fdaAfFYaZB5OMgn0AUtjEcT CGQ0L+SW1HeMWmijcXBkPbUtbdGjCrN4jxmfNY9zKVa8HG6UVBBk4Bovbc1YcXdnDCjP aDLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687985153; x=1690577153; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ciE7wPwGlLP5hh+CkZMsNJNeE41TUQznpNx6pNMaRRI=; b=eqmDo1zqPaW8y64HvddQtVIpByFROTNcRM4it/KGXZkUV4aE1NSFPaPcVmUye7qpet D9bAejSiQ0ksCp6E7+fnw9iFYBybEjOAFD29zgq9D9plCljhFWpWFXmnFS8ShE1QALeK HD7vB9oBL5ONH6jVI4sys3VmgImYsZSbzqCiQGQg3a80dRXhst9oanoed6OeYCyz3X97 qrx3CJMb4Uh5f6o5JC7sgnXcGOZWJuLjGCFwer4Reg98OZNqZHxEy30wN2YBVV6wJOPc rkvZGr97ixqDHHWkwqZ2ByBBtiKxdEuPIjIUbNs+fZVGeStSnDRkvWHrOvAPv0QuEfQ/ 0OMg== X-Gm-Message-State: AC+VfDyUHHcBGvf4xQ1EBTIiNBaVBqI32ER2LeXvKhaNwSfxvfzBAIj4 wrSE1nKtnk3Xg2T347TreqB2OA== X-Received: by 2002:a05:6a00:4091:b0:67f:8ef5:2643 with SMTP id bw17-20020a056a00409100b0067f8ef52643mr5194179pfb.2.1687985152898; Wed, 28 Jun 2023 13:45:52 -0700 (PDT) Received: from [192.168.1.136] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id f19-20020aa782d3000000b0062dba4e4706sm7332690pfn.191.2023.06.28.13.45.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jun 2023 13:45:52 -0700 (PDT) Message-ID: <18a38d3e-0b23-ba92-199a-e63c44b18da9@kernel.dk> Date: Wed, 28 Jun 2023 14:45:50 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [GIT PULL] bcachefs Content-Language: en-US To: Kent Overstreet Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org, Christoph Hellwig References: <20230627000635.43azxbkd2uf3tu6b@moria.home.lan> <91e9064b-84e3-1712-0395-b017c7c4a964@kernel.dk> <20230627020525.2vqnt2pxhtgiddyv@moria.home.lan> <23922545-917a-06bd-ec92-ff6aa66118e2@kernel.dk> <20230627201524.ool73bps2lre2tsz@moria.home.lan> <20230628040114.oz46icbsjpa4egpp@moria.home.lan> <03308df9-7a6f-4e55-40c8-6f57c5b67fe6@kernel.dk> <20230628175608.hap54mrx54owdkyg@moria.home.lan> From: Jens Axboe In-Reply-To: <20230628175608.hap54mrx54owdkyg@moria.home.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 6/28/23 11:56?AM, Kent Overstreet wrote: > On Wed, Jun 28, 2023 at 09:22:15AM -0600, Jens Axboe wrote: >> On 6/28/23 8:58?AM, Jens Axboe wrote: >>> I should have something later today, don't feel like I fully understand >>> all of it just yet. >> >> Might indeed be delayed_fput, just the flush is a bit broken in that it >> races with the worker doing the flush. In any case, with testing that, I >> hit this before I got an umount failure on loop 6 of generic/388: >> >> fsck from util-linux 2.38.1 >> recovering from clean shutdown, journal seq 14642 >> journal read done, replaying entries 14642-14642 >> checking allocations >> starting journal replay, 0 keys >> checking need_discard and freespace btrees >> checking lrus >> checking backpointers to alloc keys >> checking backpointers to extents >> backpointer for missing extent >> u64s 9 type backpointer 0:7950303232:0 len 0 ver 0: bucket=0:15164:0 btree=extents l=0 offset=0:0 len=88 pos=1342182431:5745:U32_MAX, not fixing > > Known bug, but it's gotten difficult to reproduce - if generic/388 ends > up being a better reproducer for this that'll be nice Seems to reproduce in anywhere from 1..4 iterations for me. -- Jens Axboe