]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/Grow: Update reshape_progress to need_back after reshape finishes
authorXiao Ni <xni@redhat.com>
Wed, 11 Sep 2024 08:54:24 +0000 (16:54 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 23 Sep 2024 08:48:11 +0000 (10:48 +0200)
commit568259859cafeefbf54354c19405cf2292da4b4a
treea5a477996db3f5a81f3ef1e6829a03855fcfa4fc
parent21212f6ad7c634f5f114f342ca84fe8c42a13f40
mdadm/Grow: Update reshape_progress to need_back after reshape finishes

It tries to update data offset when kicking off reshape. If it can't
change data offset, it needs to use child_monitor to monitor reshape
progress and do back up job. And it needs to update reshape_progress
to need_back when reshape finishes. If not, it will be in a infinite
loop.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Grow.c