]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm : FIX: Assemble dirty array when reshape is in progress
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 10 Mar 2011 00:41:33 +0000 (11:41 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 10 Mar 2011 00:41:33 +0000 (11:41 +1100)
commitb6796ce1ed740d7c1b0988e275a16deae64ed2e6
treebc078c733fed99d33c6b504abb9061f296640aec
parentfcdfb8148853e33757171cc2c12e4c95795063cd
imsm : FIX: Assemble dirty array when reshape is in progress

During reshape for dirty volumes reshape_progress has to be calculated
also.  To keep the same logic for array creation:
  not setting info->resync_start = MaxSector when first condition is
  true,
  resync_start is initialized by MaxSector to allow proper array
  initialization.

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