Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: chil L1n <devchill1n@gmail.com>
Cc: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs error: write time tree block corruption detected
Date: Mon, 8 Mar 2021 18:09:58 +0800	[thread overview]
Message-ID: <d5f7427f-2579-e846-5c80-23b2a0e57539@gmx.com> (raw)
In-Reply-To: <CABBhR_7xkonR0AzhKqm4zeY6rKtr04hVn5u_2Nnr9XJ=-f1bOg@mail.gmail.com>



On 2021/3/8 下午6:02, chil L1n wrote:
> Hi Qu,
>
> Thanks for some explanation.
> Personally, I prefer binary to compare bit-level changes.
> Actually, I also miscounted. I count 3 bit flips.

Yes, you're right, xor also returns 3 bits flips.

But the point is not about directly comparing the two key offsets.

The point is, the bit at 0x200000 can be flipped.

If that's the case, the remaining bits are no longer important anymore,
as that one bit flip just makes the current key to be smaller than the
previous key, which will trigger the problem.

> Isn't that extremely
> unlikely, assuming that each bit flip is independent?
> Nonetheless, I'm running another RAM test with memtester and 6GB RAM
> blocks.... still no errors.
> Will post an update later today.

I'd recommend to run UEFI memtest86.

This should really test the full system RAM, without anything else
affecting the result.
(This also means you are not able to use the computer obviously)

 From my personal experience, especially for write time tree-checker,
it's almost sure the system has something wrong.

The RAM is the most common case, and personally I'm very proud that
tree-checker has detected more than a dozen similar cases and quite a
lot of them turns out to be hardware problems.

Thanks,
Qu

      reply	other threads:[~2021-03-08 10:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06  9:10 btrfs error: write time tree block corruption detected chil L1n
2021-03-08  8:41 ` Johannes Thumshirn
2021-03-08  8:56   ` chil L1n
2021-03-08  9:23     ` Qu Wenruo
2021-03-08  9:28       ` Qu Wenruo
2021-03-08  9:33       ` Qu Wenruo
2021-03-08 10:02         ` chil L1n
2021-03-08 10:09           ` Qu Wenruo [this message]

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=d5f7427f-2579-e846-5c80-23b2a0e57539@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=Johannes.Thumshirn@wdc.com \
    --cc=devchill1n@gmail.com \
    --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