diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-05-29 21:20:33 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 00:13:28 -0700 |
commit | 64e5e09afc14f8cc9058b0ed5c9cc4c8cd126b85 (patch) | |
tree | c8448cc9fa87c6e007a76f8c65bb97423c7e8785 /drivers/md/md.h | |
parent | a865b96c513bcaeec49669010d67c40aa8e58619 (diff) | |
download | linux-stable-64e5e09afc14f8cc9058b0ed5c9cc4c8cd126b85.tar.gz linux-stable-64e5e09afc14f8cc9058b0ed5c9cc4c8cd126b85.tar.bz2 linux-stable-64e5e09afc14f8cc9058b0ed5c9cc4c8cd126b85.zip |
md: refactor action_store() for 'idle' and 'frozen'
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: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230529132037.2124527-3-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions