summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi Nan <linan122@huawei.com>2024-02-26 06:14:40 +0300
committerSong Liu <song@kernel.org>2024-02-26 21:22:22 +0300
commit9674f54e41fffaf06f6a60202e1fa4cc13de3cf5 (patch)
treeef6528a054e1d8b11bfb72b413d43bd9dd5a7be7 /tools/perf/scripts/python
parent91b26a39fb83cf370d94980609bf649c3c46993c (diff)
downloadlinux-9674f54e41fffaf06f6a60202e1fa4cc13de3cf5.tar.xz
md: Don't clear MD_CLOSING when the raid is about to stop
The raid should not be opened anymore when it is about to be stopped. However, other processes can open it again if the flag MD_CLOSING is cleared before exiting. From now on, this flag will not be cleared when the raid will be stopped. Fixes: 065e519e71b2 ("md: MD_CLOSING needs to be cleared after called md_set_readonly or do_md_stop") Signed-off-by: Li Nan <linan122@huawei.com> Reviewed-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20240226031444.3606764-6-linan666@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions