]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: FIX: use md position to reshape restart
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 9 Feb 2012 01:36:42 +0000 (12:36 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 9 Feb 2012 01:36:42 +0000 (12:36 +1100)
commit6a75c8ca79b4cf89a5d1ac24b484b75e8a7e9fb4
treef2feeff001de4b630f7af02ccc97d70662684d3a
parentf93346ef078fde20e46849901efa16dd1b05ec33
imsm: 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 restart save checkpoint to store current position /probably farther/
that can be read from md.

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