On Sat, Dec 10, 2011 at 7:22 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> wrote: >>>> On Thu, Dec 08, 2011 at 11:06:47AM -0800, David Marcin wrote: >>>>> raid10 metadata and data filesystem. dmesg log follows. The system >>>>> is unable to unmount the filesystem after this occurs. >>>>> >>>>> Filesystem mounted at/mnt/btrfs with -o compress,degraded >>>>> Command: btrfs device delete missing /mnt/btrfs >>>>> >>>>> [ 283.398222] ------------[ cut here ]------------ >>>>> [ 283.398289] kernel BUG at /home/apw/COD/linux/fs/btrfs/transaction.c:1329! >> >> So this crash means we failed to write all the blocks required to commit >> the transaction. The reason is that we're getting failed bios to the >> missing device, and that failure isn't properly eaten by the >> raid aware endio code. >> >> If you pull the top commit from my for-linus branch, it should all work. >> >> I know you've got a big FS here, I haven't tested this on raid10 yet, >> only raid1. If you want to wait a bit for safety I'll do a raid10 run >> too. >> > > The fix looks good to me, and I've tested it on raid10. Thanks Chris and Li. I can confirm that this fixed my issues on raid10 as well. David -- 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
