Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1886847rwl; Mon, 26 Dec 2022 06:11:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXv19ZX2qKOWW+ZtWS6xuGHLoVVlHwhNycqaTnklRRzyzE5SX9MIZg8/Jns4r6t2BqNlJXmy X-Received: by 2002:aa7:cd04:0:b0:46f:a70d:fef2 with SMTP id b4-20020aa7cd04000000b0046fa70dfef2mr14592452edw.35.1672063895729; Mon, 26 Dec 2022 06:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672063895; cv=none; d=google.com; s=arc-20160816; b=dRvj/Z4KH6GQS2vxjmC5m4LL63FOSOTjLumrIwBa/EUD1T6K583ouAV+gdoh6jYx2Y u3n3uxnxauax5vf/XRUcXC2CLlVrGImQyzeLHs97sOTO2x6aA81ponmuml4ioLQwBfmJ +2PEHTC094hkS/nMoraR5ZyVuR8wdNSDaMawNd2eiKXa7yuJTyYSebSJ8m7PNKQ1+Rgz /zbIDwMVhWvkKd/f77P5z87L1p2U+t9NLwFKqrCU8odI6/m+0knAYcoxP5oDBBRFGTy5 5Hak0VPRzWGVRWB16KJX4Fm+ISBEFk2UDnv8MkEygf9aWczShdRz4dJ1bJe4d6ztgCyY HtAQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=5sdVIsghfHVmE0eBk0LA/PJ4IR48v/+mjysWiDAPj00=; b=Ju43eIltZ9o9PYibvyGTNllr/MHguoImjdLkeYdU6z/GDuMhcnXE7f2IVenbhEq4ly V1iYsNgGvFKMoFV6y4r9oUiQ79JjTscwCvZ1syLiyR1U0N4FXYr55Q26edKX8Y/JQCpM K/8IykzR3G4CcDVNT1AOJ4D0sL+Vye2pWUYmURLZJd2uITS1b9y7NKOdKD+RqvCZfVKP jDlX0PNYieibB9geVhxqm7tiTdnWkNoph4QL82+UVifQKm1qlEtfbljfZtpYguUc9DLN eQywlEO8YxVG8NiADnlx0qKEeMVhczrDLYFld7xTI1kaqe/IuutymcBNXJ/Fz2QO9C9w S5+g== 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 c16-20020aa7df10000000b004627d582888si7612919edy.24.2022.12.26.06.11.18; Mon, 26 Dec 2022 06:11:35 -0800 (PST) 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 S230053AbiLZNhY (ORCPT + 67 others); Mon, 26 Dec 2022 08:37:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiLZNhW (ORCPT ); Mon, 26 Dec 2022 08:37:22 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C37219C; Mon, 26 Dec 2022 05:37:20 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1p9nfL-00088C-EJ; Mon, 26 Dec 2022 14:37:19 +0100 Message-ID: <985064d2-fe9c-a02b-21f1-e6ce93c594c0@leemhuis.info> Date: Mon, 26 Dec 2022 14:37:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [6.2][regression] after commit 947a629988f191807d2d22ba63ae18259bb645c5 btrfs volume periodical forced switch to readonly after a lot of disk writes #forregzbot Content-Language: en-US, de-DE To: Btrfs BTRFS , Linux List Kernel Mailing , "regressions@lists.linux.dev" References: From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1672061840;637a1322; X-HE-SMSGID: 1p9nfL-00088C-EJ X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 [Note: this mail contains only information for Linux kernel regression tracking. Mails like these contain '#forregzbot' in the subject to make then easy to spot and filter out. The author also tried to remove most or all individuals from the list of recipients to spare them the hassle.] On 25.12.22 22:32, Mikhail Gavrilov wrote: > Hi, > It is curious but it happens only on machine which have BTRFS volume > combined from two high speed nvme (pcie 4) SSD in RAID 0. On machines > with BTRFS volume from one HDD the bug does not appear. > > To bisect the problematic commit, I had to sweat a lot. At each step, > I downloaded the 150 GB game "Assassin's Creed Valhalla" 4 times and > deleted it. For make sure that the commit previous to > 947a629988f191807d2d22ba63ae18259bb645c5 is definitely not affected by > the bug, I downloaded this game 10 times, which should have provided > more than 1.5 Tb of data writing to the btrfs volume. > > Here is result of my bisection: > 947a629988f191807d2d22ba63ae18259bb645c5 is the first bad commit > [...] > Before going to readonly, the preceding line in kernel log display a message: > [ 1908.029663] BTRFS: error (device nvme0n1p3: state A) in > btrfs_run_delayed_refs:2147: errno=-5 IO failure > > I also attached a full kernel log. Thanks for the report. To be sure below issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression tracking bot: #regzbot ^introduced 947a629988f191807d2d22ba63ae18259bb64 #regzbot title btrfs: volume periodical forced switch to readonly after a lot of disk writes #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.