[PATCH openEuler-1.0-LTS 02/13] md: refactor action_store() for 'idle' and 'frozen'