Plase fix your device name lifetimes. See the DM commit 63a4f0 ("dm: fix add_disk() NULL pointer due to race with free_dev()") for a template. Unregistering the device too early means we'll have half constructed bdis hanging around, which caused all kinds of problems for filesystems and the writeback code. -- 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