Skip to contentSkip to conversation

Random RAID1C3 subpage read repair failure (btrfs/266)

DISCUSSION Qu Wenruo 1 participant 1 message Jun 6, 2023 Btrfs file system

lore
Share & tools
lore

Qu Wenruo

author
#0 lore raw

Hi guys,

With recently resumed subpage tests, I'm hitting random failure in btrfs/266 with subpage tests only. (64K page size with 4K sector size)

The failure rate is around 1/3 ~ 1/5, a "./check -I 10 btrfs/266" run is always ensured to trigger a failure.

The most common (if not the only) failure is that mirror 3 didn't get repaired, while mirror 1/2 are properly repaired.

The dmesg doesn't provide enough info since it's rated limited.

What makes it more weird is, the test case itself is already considering subpage/larger page size, thus except the final verification, everything is done in 64K block size.

But still it failed to be reproduced on x86_64.

I'm still actively investigating the bug, but if anyone has some clue it's would be very appreciated.

Thanks,
Qu