]> git.ipfire.org Git - thirdparty/mdadm.git/commit - managemon.c
FIX: Last_checkpoint has to be initialized in per disk units
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 14 Mar 2011 07:17:52 +0000 (18:17 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Mar 2011 07:17:52 +0000 (18:17 +1100)
commit0d51bfa20e231ebcbb15c2a278c837c8e3b6c2b1
tree14abfbff91deaf92d3bdd0aa6045b738c7616b9a
parent138477db4b7e810d35fd1a8fd2d1c2f05ee55da5
FIX: Last_checkpoint has to be initialized in per disk units

last_checkpoint is variable that tracks sync_complete sysfs entry.
sync_complete is per disk counter, so initializing during starting from checkpoint
has to have this in mind and convert reshape position properly.

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