On Wed, Jul 27, 2016 at 09:56:09PM +0200, David Sterba wrote: > On Wed, Jul 27, 2016 at 04:59:27PM +0300, Anatoly Pugachev wrote: > > Hello! > > > > Running xfstests suite, got in logs mkfs.btrfs bus error, debugging it > > shows the following : > > > > Program received signal SIGBUS, Bus error. > > 0x000000000015e160 in write_raid56_with_parity (info=0x2b17b0, > > eb=0x2c7fe0, multi=0x2c2870, stripe_len=65536, raid_map=0x2c2570) at > > volumes.c:2156 > > 2156 *(unsigned long *)(p_eb->data + i) ^= > > Yeah, clear unaligned access. We have helpers for so I'll fix it. I was > looking for a way to simulate and catch that on x86 or at least let gcc > warn but no such thing seems to exist. Which means we might accidentally > introduce that in the future. Can you please test with the current 'devel' branch? Fixed by the patch "btrfs-progs: fix unaligned access calculating raid56 data" (depends on another patch in devel). Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
