[PATCH OLK-6.6 v2 48/66] md: add new helpers for sync_action