diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-05-12 09:56:07 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-06-13 15:13:20 -0700 |
commit | 873f50ece41aad5c4f788a340960c53774b5526e (patch) | |
tree | 3a56cbbf1a4e849832489ce68293bd5774aaffc2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46038b30b308c3ebf49e79548f109d00a8d74b31 (diff) |
md: fix data corruption for raid456 when reshape restart while grow up
Currently, if reshape is interrupted, echo "reshape" to sync_action will
restart reshape from scratch, for example:
echo frozen > sync_action
echo reshape > sync_action
This will corrupt data before reshape_position if the array is growing,
fix the problem by continue reshape from reshape_position.
Reported-by: Peter Neuwirth <reddunur@online.de>
Link: https://lore.kernel.org/linux-raid/e2f96772-bfbc-f43b-6da1-f520e5164536@online.de/
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230512015610.821290-3-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions