]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: FIX: Clear migration record when migration switches to next volume.
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 9 Feb 2012 01:37:04 +0000 (12:37 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 9 Feb 2012 01:37:04 +0000 (12:37 +1100)
commit51d83f5d119f9b727cc715b22b1625332bd0130b
treedbac916dc4d5cc9dd82fb5122eb6c974d759ad35
parent6a75c8ca79b4cf89a5d1ac24b484b75e8a7e9fb4
imsm: FIX: Clear migration record when migration switches to next volume.

When OLCE is in progress, checkpoint steps are getting bigger due to added space during process.
When mdadm fails after saving "max" to sync_max, mdmon will monitor process
and switch reshape to next array. At this moment we have got information
inconsistency between metadata and migration record.
To avoid this, clear migration record by mdmon /exception from the rule
that migration record is maintained by mdadm/ when reshape switches
to next array.

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