Re: [GIT PULL] Btrfs fixes for 6.8-rc2

From: Qu Wenruo
Date: Fri Jan 26 2024 - 17:08:18 EST




On 2024/1/27 08:32, Linus Torvalds wrote:
On Fri, 26 Jan 2024 at 13:56, Qu Wenruo <wqu@xxxxxxxx> wrote:

On 2024/1/27 08:21, Linus Torvalds wrote:

Allocation lifetime problems?

Could be, thus it may be better to output the flags of the first page
for tree-checker.

Note that the fact that it magically went away certainly implies that
it never "really" existed, and that something was using a pointer or
similar.

IOW, this is not some IO that got scribbled over, or a cache that got
corrupted. If it had been real corruption, I would have expected that
it would have stayed around in memory.

Yep, thus it makes sense to show the page status of an eb.

It could be some race that the eb pages are not properly hold, thus its
content changed unexpectedly.

Thanks,
Qu


Linus