What about never removing a bdi from bdi_list? If we have the correct checks for dirty_io and the task there's no need to ever remove a life bdi from the list. Just add it in bdi_register and remove it in bdi_unregister. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html