summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-12-28 20:55:52 +0800
committerSong Liu <song@kernel.org>2024-02-05 15:23:58 -0800
commitfaeaf210a559eb05bc1a294082d100d01c49a1e9 (patch)
tree9f2a40ffcb4463de20763e09995a293285564f19 /tools/perf/scripts/python/exported-sql-viewer.py
parent61c90765e131e63ead773b9b99167415e246a945 (diff)
md: remove redundant md_wakeup_thread()
On the one hand, mddev_unlock() will call md_wakeup_thread() unconditionally; on the other hand, md_check_recovery() can't make progress if 'reconfig_mutex' can't be grabbed. Hence, it really doesn't make sense to wake up daemon thread while 'reconfig_mutex' is still grabbed. Remove all the md_wakup_thread() for 'mddev->thread' while 'reconfig_mtuex' is still grabbed. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231228125553.2697765-3-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions