]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: Process reshape_update in mdmon
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 16 Dec 2010 02:17:45 +0000 (13:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 16 Dec 2010 02:17:45 +0000 (13:17 +1100)
commitd195167d9ca3eba2c8aea52e254d85d1f1e51e99
tree8c69a57b77c86228a34023f26ef2bdd8d9d5f666
parentcb23f1f4c33d495c05a37ded7acecdeaebdabf14
imsm: Process reshape_update in mdmon

For this update prepare_update() allocates memory to relink imsm
(bigger) device imsm structures. It calculates new /bigger/ anchor
size.

Process update applies update in to imsm structures.  This includes
 - converting selected spares into configured devices
 - marking the arrays as migrating
 - making a new 'map' for each array with the changed details.

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