[PATCH OLK-6.6 30/64] md: export helpers to stop sync_thread