]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: Do not mark resync during reshape
authorAdam Kwolek <adam.kwolek@intel.com>
Sun, 2 Oct 2011 23:31:22 +0000 (10:31 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 2 Oct 2011 23:31:22 +0000 (10:31 +1100)
commitb91726651d9a22c1f015817dd01efba932ac3bc7
tree0025d8d29347758778dac54946caa636a735cb3d
parente2962bfc219ad89087d87da18ef8f9529a457bcd
imsm: Do not mark resync during reshape

During reshape, resync/rebuild in the same container is not possible
due to fact that all arrays in container has to share the same disks set.

Block new resync/rebuild process initialization and setting resync_start
to 0 while any reshape in container is active. This avoids breaking
container reshape and doesn't allow for starting multiple processes
/resync/rebuild and reshape/ at the same time in md.

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