]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: initalize reshape progress as it is stored in metatdata
authorAdam Kwolek <adam.kwolek@intel.com>
Tue, 22 Feb 2011 14:13:23 +0000 (15:13 +0100)
committerNeilBrown <neilb@suse.de>
Wed, 23 Feb 2011 03:16:37 +0000 (14:16 +1100)
commitd2e6d5d65b49021e02af282191f46ae385f2cd23
tree912541618417a1a0ac8625b66ec81aab452093e4
parentc21e737ba12903ecf3a4f42a119807d328f3f8c9
imsm: FIX: initalize reshape progress as it is stored in metatdata

reshape prodess cannot be restarted due to no checkpoint information
in mdinfo.
When metadata is read during reshape process or reshape restart,
rehape_progress (mdinfo field) has to be initialized to value
stored in metadata. This allows start reshape from stored
in metadata checkpoint.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c