]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: Do not allow for spare disk activation during reshape
authorAdam Kwolek <adam.kwolek@intel.com>
Sun, 2 Oct 2011 23:30:28 +0000 (10:30 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 2 Oct 2011 23:30:28 +0000 (10:30 +1100)
commite2962bfc219ad89087d87da18ef8f9529a457bcd
tree04f3cbd65fadbea6c4884a95f8bcb20f13730ae6
parentf211a13788e261f4e2bb51c0a3b97c6fcba46e40
imsm: FIX: Do not allow for spare disk activation during reshape

Spare disk activation or starting repair for one array while on second
reshape is in progress, will lead to IMSM incompatible situation when
2 arrays in container shares different disks sets.
This can cause that 2 processes in container /reshape and rebuild/
are in progress in parallel. This is IMSM incompatible situation also.

Block spare disk activation and starting resync if any reshape in container
is in progress.

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