Commit dd9fcd21 authored by Yu Kuai's avatar Yu Kuai Committed by Yongqiang Liu
Browse files

md: refactor action_store() for 'idle' and 'frozen'

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6T6VY


CVE: NA

--------------------------------

Prepare to handle 'idle' and 'frozen' differently to fix a deadlock, there
are no functional changes except that MD_RECOVERY_RUNNING is checked
again after 'reconfig_mutex' is held.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 8b29c367
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment