diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-05-29 21:34:10 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-06-13 15:25:41 -0700 |
commit | 75aa7a1b8f85b03971df1d0f5b1a3a9edf020dff (patch) | |
tree | fc812c20864f3cd1db89f146de665157f7d6cac4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4469315439827290923fce4f3f672599cabeb366 (diff) |
md/raid5: don't start reshape when recovery or replace is in progress
When recovery is interrupted (reboot, etc.) check for MD_RECOVERY_RUNNING
is not enough to tell recovery is in progress. Also check recovery_cp
before starting reshape.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230529133410.2125914-1-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions