]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: Use single migration type for all migrations
authorAdam Kwolek <adam.kwolek@intel.com>
Sun, 13 Feb 2011 22:23:36 +0000 (09:23 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 13 Feb 2011 22:23:36 +0000 (09:23 +1100)
commitb53477997dedea4eb3f31263cce4afa3b16d36fb
tree409c7295c03bb00b1fe0c6aecbb258f668bd172e
parent41bf155e122ef69b229538cf3e3a6c5969825104
imsm: Use single migration type for all migrations

Use single enum definition/migration type for all migrations.
Using separate definitions causes limitation for number of changes
in metadata implementation during single update for migration/reshape.
Single CH_MIGRATION enum allows for many mtadata parameters change
in single update. It will be possible to change i.e. chunk size together
with raid level. In current implementation 2 metadata updates would be
required for such action, one using CH_CHUNK_MIGR and second using
CH_LEVEL_MIGRATION migration type.

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