On Wed, Apr 29, 2015 at 07:25:30AM +1000, NeilBrown wrote: > As bdi_set_min_ratio doesn't touch bdi->dev, there seems to be no need for > the test, or the warning. > > I wonder if it would make sense to move the bdi_set_min_ratio() call to > bdi_destroy, and discard bdi_unregister?? > There is a comment which suggests bdi_unregister might be of use later, but > it might be best to have a clean slate in which to add whatever might be > needed?? This seems fine to me from the block dev point of view. I don't really understand the bdi_min_ratio logic, but Peter might have a better idea. -- 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