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