On Tue, Mar 06, 2018 at 04:45:40PM +0800, Qu Wenruo wrote:
> Here is the fixed superblock.
> csum type and incompat flags get fixed.
> I'm not sure if they are the only problems, but I strongly recommend to
> run btrfs check before mount.

I haven't found any other obviously corrupted items. The only
overwritten data are at offset 0xc0 (192) and it's 6 bytes. Not an ascii
pattern nor a looks-like-a-pointer value.

Value on offset 192 looks like a valid block pointer 0x176d2000, but the
csum_type looks quite random and not related to anything I'd suspect.

The overwrite could have happened any time after the last successful
mount, the incompat flags or csum type are not updated on each write
(unlike th tree root pointers or levels, or checksum).

This does not look like a direct memory bitflip, but rather a mysterious
mermory corruption, that could be a bitflip in a pointer that got
redirected to the fs_info::super_copy structure, or something else. A
'check' would tell more.
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to