[PATCH OLK-6.6 14/64] md: factor out a helper to sync mddev