[PATCH 6.8 105/399] md: export helpers to stop sync_thread