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 8A219C77B76 for ; Wed, 19 Apr 2023 01:55:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231719AbjDSBzT (ORCPT ); Tue, 18 Apr 2023 21:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjDSBzS (ORCPT ); Tue, 18 Apr 2023 21:55:18 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26994191 for ; Tue, 18 Apr 2023 18:55:17 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2472a5dbbdcso1349018a91.0 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=E0WdwcGmKuYndkm7Yy8CAB6xugL1+l60NpoMMr0GmHxlvpBZrBM34GJslA0Fhl4PjX tIKywLTsdcNrHb3M1a4dKJmy4rM+efnPgGxZeMnpX8Z28l51hhcHIy/+AOr3YCyZsql7 Z1S+52c27k4iw8YMeVMTwdKRyOpzURyQC3q9LfPPkw/BdHJ5xxS08J51Nrx4G1ahWmmY pmZu6GAFEbvBQVBV/+OJt2ejQesGHfDGjf440unCZ9qUyvYt8MRl2prNEcMStVKcnYJ+ Ulm8vwCLn42lNInrPTvQnrRwGJo6N92+79Z7woK2OPaDumaQtr5UJUIhvQ9sRj9ggdbG qdfA== X-Gm-Message-State: AAQBX9f2SENBu2BxTw9N52tGg8fn6Jr7LesQX26+3MKdyADFEoYEvdSN lqOnGg7ypFh95jeZpNusCduHE1nrLdqF/7nXTgb5IQ== 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-btrfs@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