]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: Report correct array size during reshape
authorAdam Kwolek <adam.kwolek@intel.com>
Tue, 22 Feb 2011 14:13:31 +0000 (15:13 +0100)
committerNeilBrown <neilb@suse.de>
Wed, 23 Feb 2011 03:16:37 +0000 (14:16 +1100)
commit75156c4690a0c9e037b60f53430f971b0c90c902
treea448f5092d6cc3d7f201410c5920f047aac7adac
parentd2e6d5d65b49021e02af282191f46ae385f2cd23
imsm: FIX: Report correct array size during reshape

When reshape is started imsm stores new size in metadata.
mdadm requires "old" size to proper initialization restarted array.

When reshape is in progress getinfo_super_imsm_volume() should report
computed array size value instead array size stored in metatda.

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