]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
FIX: use md position to reshape restart
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 9 Feb 2012 01:36:41 +0000 (12:36 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 9 Feb 2012 01:36:41 +0000 (12:36 +1100)
commitf93346ef078fde20e46849901efa16dd1b05ec33
tree029e399e7b869712fce1492d0f8ee1071ed3b005
parente1742195ff3dba97929f81af6b7633481a23397a
FIX: use md position to reshape restart

When reshape is broken, it can occur that metadata is not saved properly.
This can cause that reshape process is farther in md than metadata states.

On reshape restart use md position as start position, if it is farther than
position specified in metadata. Opposite situation treat as error.

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