linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: dsterba@suse.cz
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Regression that causes data csum mismatch
Date: Wed, 14 Jun 2023 06:17:31 +0800	[thread overview]
Message-ID: <0523f743-38e0-bc21-df4e-6a9d4e842ecf@gmx.com> (raw)
In-Reply-To: <20230613160247.GK13486@twin.jikos.cz>



On 2023/6/14 00:02, David Sterba wrote:
> On Tue, Jun 13, 2023 at 02:26:39PM +0800, Qu Wenruo wrote:
>> Hi,
>>
>> Recently I am testing scrub preparing for the incoming logical scrub.
>>
>> But I noticed some rare and random test cases failure from scrub and
>> replace groups.
>>
>> E.g. btrfs/072 has a chance of failure around 1/30.
>
> I'd like to get a list of tests that could potentially reproduce it.

For my last reproduce, it's pure btrfs/072 loop, no other extra test
involved.

>  I've
> started 072 in a loop but given the frequency and also a possible other
> factors this probably won't be enough.

Last night I ran it for around 4 hours, but surprisingly no reproduce
any more.

>
>> Initially I thought it's my scrub patches screwing things up, but with
>> more digging, it turns out that it's real data corruption.
>>
>> After scrubbing found errors, btrfs check --check-data-csum also reports
>> csum mismatch.
>
> It would be good to share the updates to fstests with the tests. I've
> added the data csum check to _check_btrfs_filesystem.
>
>> Furthermore this is profile independent, I have see all profiles hitting
>> such data corruption.
>
> How does the corruption look like?

Just some csum mismatch, which both scrub and btrfs check
--check-data-csum report.

One of my concern here is the temperature of my environment, with AC
running it no longer reproduces...

Hope it's really just a false alert.

Anyway thank you very much for the extra runs, I have to say my systems
are no longer reliable during north hemisphere summer...

Thanks,
Qu

  reply	other threads:[~2023-06-13 22:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13  6:26 Regression that causes data csum mismatch Qu Wenruo
2023-06-13  6:27 ` Qu Wenruo
2023-06-13 13:21 ` Linux regression tracking #adding (Thorsten Leemhuis)
2023-06-13 16:02 ` David Sterba
2023-06-13 22:17   ` Qu Wenruo [this message]
2023-06-15 15:32     ` David Sterba
2023-06-15 18:00       ` Linux regression tracking (Thorsten Leemhuis)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0523f743-38e0-bc21-df4e-6a9d4e842ecf@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).