]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: update blocks_per_migr_unit() to support migration record
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 8 Jun 2011 07:09:50 +0000 (17:09 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 8 Jun 2011 07:09:50 +0000 (17:09 +1000)
commitc47b0ff69a50d6b74e3ad39e31826b5b90b370df
treefe1a1b6adeccfc933ddbfb1b6014f3d96e3dfbf0
parent520e69e25cb028bc2ef364d468e0c41e06dec7c1
imsm: update blocks_per_migr_unit() to support migration record

blocks_per_migr_unit() has to use information from migration record
for general migration case. This causes to pass intel_super pointer
to this function and some other interfaces changes.

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