From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3ECC5C6FD18 for ; Wed, 19 Apr 2023 01:55:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231741AbjDSBzW (ORCPT ); Tue, 18 Apr 2023 21:55:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbjDSBzS (ORCPT ); Tue, 18 Apr 2023 21:55:18 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2881846BA for ; Tue, 18 Apr 2023 18:55:17 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-24782fdb652so1134178a91.3 for ; Tue, 18 Apr 2023 18:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20221208.gappssmtp.com; s=20221208; t=1681869316; x=1684461316; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3yMx5fYxd9C175mfLe8lqRxl1QU04ZvuY5JHAMxvGXI=; b=JTClS8+wTrBV1rxVUYS9q8uw6u8dxR78MWe0zSZtLpo7xGsS5N13qILbeTwPfuR0ar tn5NCTU/65rxbpjaDHm7RZDl9/mBDWgcHrb1XHuhk9gxZAOWU4UtyHeMdlmWaoivNs6e 86hhFHd0CBqlgV4YhYI1FCmyfI1hEleIBZvwCGnclJ3ff7ARjN2lP7ffpEFpIn/McnFF SEeteH+38HCv4YcfI/54X2QbUFxBS00XVyu3OVNCm8yZ9OhuqIUo3YhTaM9nPs1kgjFr 2An2ZPym3KKxd6fTJMmim9vYZGlzHgtPqcea3Vx76lWTShqGuRmLCJexaOceORZksQ+Z 7TZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681869316; x=1684461316; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3yMx5fYxd9C175mfLe8lqRxl1QU04ZvuY5JHAMxvGXI=; b=luq2IQDA+HcC2YaVOQktvz/cFvueMsPE/5bzX47uKcaAE4nMUEblKL7/cDEhUl/Zeh 0Ol2IzylQZxDT6QArK5O2hbGS3xMMG2fgdRoeYN9KeD0gNipaOUKMq3KzsRDUzkiwXbJ fcuPA2wofhT7zSJ42ZoIQO3le1MxBVUsRaPAq9WxIdGx7kABt+ENzI71tUpr2dJMcYu/ jyNTOhLANHZakzGFz7MGCiyqJ8jcSdDq66CTO5+P/mq6BiLiiWyylCziIEarefeiDGKH lvKnteYYpm7vtmbKTrFt3mvyjJa92WNj2N+783neWRj8sa264mfKH8fDl/JWOzSynaMM 79vg== X-Gm-Message-State: AAQBX9eWFzO0hmnDYLsscgeQy8vMT7z+SI2pI4YLCyfs8dkJmzw0cpnY TR+kbSjixsyTi6dKEv3lAGVPLg== X-Google-Smtp-Source: AKy350ZkIYBC14VQSQlaDtDhGCzV/AiSdCVbEF8ylA2ILJmqON245CqgcSEfoq2eYAbHZoKwQcxWUg== X-Received: by 2002:a17:90a:a894:b0:23c:fef0:d441 with SMTP id h20-20020a17090aa89400b0023cfef0d441mr1301184pjq.33.1681869316634; Tue, 18 Apr 2023 18:55:16 -0700 (PDT) Received: from dread.disaster.area (pa49-180-41-174.pa.nsw.optusnet.com.au. [49.180.41.174]) by smtp.gmail.com with ESMTPSA id k8-20020a634b48000000b0051ba4d6fe4fsm4796613pgl.56.2023.04.18.18.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 18:55:15 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1pox2O-0055Sk-P8; Wed, 19 Apr 2023 11:55:12 +1000 Date: Wed, 19 Apr 2023 11:55:12 +1000 From: Dave Chinner To: Kyle Sanderson Cc: linux-btrfs@vger.kernel.org, Linux-Kernal , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Linus Torvalds , Greg KH Subject: Re: btrfs induced data loss (on xfs) - 5.19.0-38-generic Message-ID: <20230419015512.GI447837@dread.disaster.area> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 16, 2023 at 10:20:45PM -0700, Kyle Sanderson wrote: > The single btrfs disk was at 100% utilization and a wa of 50~, reading > back at around 2MB/s. df and similar would simply freeze. Leading up > to this I removed around 2T of data from a single btrfs disk. I > managed to get most of the services shutdown and disks unmounted, but > when the system came back up I had to use xfs_repair (for the first What exactly was the error messages XFS emitted when it failed to mount, and what did xfs_repair fix to enable it to boot? Unless you have a broken disk (i.e. firmware either lies about cache flush completion or the implementation is broken), there is no reason for any amount of load on the disk to cause filesystem corruption.... -Dave. -- Dave Chinner david@fromorbit.com