[PATCH OLK-5.10 08/24] md: refactor idle/frozen_sync_thread()