Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5300179rwl; Wed, 28 Dec 2022 16:41:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2VVb3IvMOdc8YFjzqjQgf20ToUAaBXGsGFbarE5FuRNYQdo5LmurKFPcpxxS9ON2Up3DF X-Received: by 2002:a05:6a00:4c84:b0:577:c181:bd61 with SMTP id eb4-20020a056a004c8400b00577c181bd61mr29176578pfb.20.1672274463931; Wed, 28 Dec 2022 16:41:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672274463; cv=none; d=google.com; s=arc-20160816; b=udKweCHK/IDaLA3lyz/wXb9ZZPrdmV02Rqdz7mJy43Bmzmncs0H7xLprWOqGIkSpyQ 4baIGS0kjYlLG12u//8If+Qq5PwaaZLvlxcpxVaJM50T7Iivnn6vpzJc+xRFUHk9szgC B57h9884EC4JkoMFcBcq5D5ORG2+y4ez6zjwpYXTPdFm8ckwIWJz+eYj0aO9mBE0XesP huqIgoIAF2T7ZUr28T59D0pssFEyUKnPJHrlqEHu62z5KyAm6SbpX2TS/zsLWjdaTTCb eSF1P5xBlOsO7VyBJyux5s9+HSTUwMFSElbCwN45wXF8R3YdwPkrGt898KsL+tV0xHli V2CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:subject:from:references:cc:to:content-language :user-agent:mime-version:date:message-id; bh=BdFXXRZQsbSCJAAlheo5jeWSzKyXWcdhO0hFwLsiXlw=; b=jyCZgMh6FfK2j9i2O3klt4mGTT1fkXAZdr1kzAuzfDo1XNbJjqlI24xQ4MFpbsnTEy zMNxRaKPwXdqhmQXBfuwI+pDiZxyqTWwriptN+0ccfrrR2i4GLuuQeVNyn3lQcS0OUp6 EXE97EL7ijJg9Pi8SBc9RCuu2fb9A299vWtk+wqDL0x39ekq9TpuWQIZIwCgRXEajOmB xO9CMn50Dy3/soxePybVQmDHzB92ap5qxaoc5Q+kcOULc47GOOCwLkwURU+SqLTzsvRf p0q+uBvmTwodwuY/NXnOyCruftEBLrsNcyvajsQT+vTBAsjXF3WRFKvPH4mB6geUoQ5w JfoA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r15-20020a6560cf000000b0046ffe3fea86si17730078pgv.97.2022.12.28.16.40.54; Wed, 28 Dec 2022 16:41:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231649AbiL2AAZ (ORCPT + 62 others); Wed, 28 Dec 2022 19:00:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbiL2AAX (ORCPT ); Wed, 28 Dec 2022 19:00:23 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 809DC13F66; Wed, 28 Dec 2022 16:00:19 -0800 (PST) Received: from [0.0.0.0] ([149.28.201.231]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MgNh1-1odFjc0WTP-00hz5T; Thu, 29 Dec 2022 01:00:16 +0100 Message-ID: <52793f07-a842-dac0-b7c2-bca641e18a94@gmx.com> Date: Thu, 29 Dec 2022 08:00:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: Mikhail Gavrilov Cc: Qu Wenruo , dsterba@suse.com, Btrfs BTRFS , Linux List Kernel Mailing References: <41734bdb-2df0-6596-01b6-76a7dfd05d64@gmx.com> <24cd64b2-4536-372c-91af-b425d2f6efd4@gmx.com> <7d2edc1d-922b-763c-3122-0a6f81c3454e@suse.com> From: Qu Wenruo Subject: Re: [6.2][regression] after commit 947a629988f191807d2d22ba63ae18259bb645c5 btrfs volume periodical forced switch to readonly after a lot of disk writes In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:2SUEsCNvuq/EcN3gZ72JCc9vQLF2LpaosyJ8iDEUdcn8LbHps5R SxNUXd1Wh23brnOSZTwDZmtRTlm9OZkyh5NJ/4hGgYoC5Rbn4KlnDIFqO0hOa/YpCrfE1NU XdbyrC8VKvokvbZXw5pKtOFOV2Nt/gGRUhEOS0dyTrUA5PgBLuTqs8aitpltiLa1PhWT38u PDaHmApmnhWM3VSx9jxsg== UI-OutboundReport: notjunk:1;M01:P0:tVGWBWFHVek=;16r7pdq3iojDXlexuZfAUAhrq2V x1Q0zvnhmNaXv4ukPVSwZ9tiZSioTVdJDSXibWLnzHbLc5omXtQ62asyDCeLHCRJD7hrEeqep Hxr7E6M4Yr2FkQvfYGrmo7BSziGax3enaQ7Y3Pf/OVDoaPPgPISzHS/JJbT3V3TZSWKlriVwy N+9oD8ZkZn0AQCyWa9KkyFUBFeP3coJJveG9tIlGDyj3riSvfthX9R3LAldK/e7YG4p1vybm6 Otg12crnfOpNj1banWacXXTIeB4fOARTvxJgsHeo/GUIAuTbFMQ5P4MJD0+bg5mjlAA8vEHsb ett9peGer2KymSGGjAnFfzCaqiY+FVgjoTl5uF75ImYjXyHCnafr/cBU72C1ddzf2gvy8bA6I Ozh4KJPzhoURxqPE5Rsu+QaI0JSY8aEDY3cFKmn1KRxFfUpfogTgNwtoGzRCvX/pi63EtTg0B S7sNCJJaG4Ijl4GElyrLTEuSwkKI4aDSofoydqFK85Ss+joQ84YZrwBHTM1OWU07MAIk9IHvw iUeLA+/5rl69aP0PkyEpVmMP+nuYnCvyaDsKaaZrMSPIGo1NIYwghxW8zVrAbz1xRtGcaLXzS xfkpI2AueT8bGCiMwIRGUavLaVcsRSaLuarqShWvXSseSAUGvKV3iQVu1nvwbw0VSPD/ZrBgx O47Z4AuUE1mtg5nkzMg3eeqClCSHN28IRP8BjCwGdVdDlWOMi+jZKOP5bPmSkw5IbPu4PVG6G LRlknGqkptnhZddwEaZiXxqCmeUljWfMtfJGDSrO9YtEUG3OxhIAFP3+SdIeUB8UWHIhmwUiC m4uKawPudJQKdHX4cY7cGqhOmBJRJCQToaBtpp0B5ZpSvAhHS9kSZF8tXkVXijI3m/VUejl6w K5mBq1Qy6qMWcTT2TOdsxceKpSwtUOcTOJtf+agiw65WEr+uNjIn50Llfrwb1XQsZKzp4TX8+ +QArXJNxOqpfHydsafp3Y+3cTUg= X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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 On 2022/12/29 07:42, Mikhail Gavrilov wrote: > On Thu, Dec 29, 2022 at 4:24 AM Qu Wenruo wrote: >> >> Just one last thing to confirm, mind to provide the following dump? >> >> # btrfs ins dump-tree -t chunk >> >> If the fix works, it means you have some tree block crossing stripe >> boundary, which is not the ideal situation. > > I attached this dump. > The only thing that I did from a working system I hope it is not > affected to result? > For small dumps like chunk tree, it's completely fine to dump from live systems. And your dumps (along with your previous debug output) shows no metadata crossing stripe boundaries. I'd need dig deeper why btrfs is splitting extent buffers unnecessarily. Thanks, Qu