]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: Check array alignment before expansion
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 6 Apr 2011 02:40:04 +0000 (12:40 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 6 Apr 2011 02:40:04 +0000 (12:40 +1000)
commit2a4a08e7d3a3a76094352a3c477d7901ac993554
treec2788de47b36d6239da2355072b82735c7e16686
parent6dc0be309d22db35f65edd283f72e2600b8d83c8
imsm: FIX: Check array alignment before expansion

It can occur that OROM creates array not aligned properly.
Expansion cannot be run in such cases. It is detected in analyse_change().
It is too late. This causes that metadata is in migration state already,
when expansion cannot be started.
This problem has to be detected before metadata is updated,
in all arrays in reshaped container.

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