On Sun, Jan 08, 2017 at 02:31:15PM +0100, MasterPrenium wrote:
Hello,Looks most are normal full stripe writes.
Replies below + :
- I don't know if this can help but after the crash, when the system
reboots, the Raid 5 stack is re-synchronizing
[ 37.028239] md10: Warning: Device sdc1 is misaligned
[ 37.028541] created bitmap (15 pages) for device md10
[ 37.030433] md10: bitmap initialized from disk: read 1 pages, set 59 of
29807 bits
- Sometimes the kernel completely crash (lost serial + network connection),
sometimes only got the "BUG" dump, but still have network access (but a
reboot is impossible, need to reset the system).
- You can find blktrace here (while running fio), I hope it's complete since
the end of the file is when the kernel crashed : https://goo.gl/X9jZ50
so it's not a resync issue.I'm trying to reproduce, but no success. SoYes Correct.
ext4->btrfs->raid5, crash
btrfs->raid5, no crash
right? does subvolume matter? When you create the raid5 array, does adding
'--assume-clean' option change the behavior? I'd like to narrow down the issue.
If you can capture the blktrace to the raid5 array, it would be great to hint
us what kind of IO it is.
The subvolume doesn't matter.
-- assume-clean doesn't change the behaviour.
Don't forget that the system needs to be running on xen to crash, withoutok, the patch is unlikely helpful, since the IO size isn't very big.
(on native kernel) it doesn't crash (or at least, I was not able to make it
crash).
It doesn't help :(. Maybe the crash is happening a little bit later.Regarding your patch, I can't find it. Is it the one sent by KonstantinRight.
Khlebnikov ?
Don't have good idea yet. My best guess so far is virtual machine introduces
extra delay, which might trigger some race conditions which aren't seen in
native. I'll check if I could find something locally.
Thanks,
Shaohua