[PATCH openEuler-22.03-LTS 06/22] md: refactor action_store() for 'idle' and 'frozen'