On Sun, Jan 18, 2009 at 4:07 PM, Neil Brown <neilb@xxxxxxx> wrote: > On Thursday January 8, dan.j.williams@xxxxxxxxx wrote: >> The BUG_ON(mddev->ro == 1) in md_write_start can be triggered under two >> circumstances in recent kernels. One was reported by Justin Maggard: > > Hi Dan, > Thanks for following up with this..... > > (I meant to send this over a week ago, but I've been on vaction > in Tasmania and my mobile has no coverage....) > [..] >> md: set mddev readonly flag on blkdev BLKROSET ioctl > > This one I'm happy with. I'll make sure it gets through. This slippery bugger seems to have evaded upstream, do you want me to resend? Here is a link for reference: http://marc.info/?l=linux-raid&m=123139948817348&w=2 I have seen another report of the md_write_start() BUG_ON triggering so I'm wondering if there are other ways for mddev->ro and bdev->bd_part->policy to get out of sync, or if they are just hitting the bug that this patch fixes? -- Dan -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html