]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: FIX: Store checkpoint in per disk units
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 14 Mar 2011 07:17:53 +0000 (18:17 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Mar 2011 07:17:53 +0000 (18:17 +1100)
commit6289d1e07912fe927a8f294eac8855a12241849c
treea9a1d766dc6d533105b5b4c5c1d78e6c7ae437da
parent0d51bfa20e231ebcbb15c2a278c837c8e3b6c2b1
imsm: FIX: Store checkpoint in per disk units

While last_checkpoint is counter in per disk units, checkpoints
should be stored in the same manner.
Restoring from checkpoint should should recalculate checkpoint in to
array position (reshape_progress).

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