]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: improve getinfo_super when reshape is in progress.
authorNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 04:59:09 +0000 (15:59 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 8 Mar 2011 04:59:09 +0000 (15:59 +1100)
commit3f83228aa83f00e83c15c1331d9e27c50c7a9fdc
treee4fb56bf961a40f86e35ba40591336f7bbf17754
parente14e59602a3b0d1abd2a88ecc1e5fb895024b3e2
imsm: improve getinfo_super when reshape is in progress.

If a reshape (migration) is happening, we might need to modify the information
with provide to md so that it can cope with the reshape.
For example, if a migration from 4-device RAID0 to 5-device RAID0 is
happening, we need to tell md that it is reshape from degraded
5-device RAID4 to degraded 6-device RAID4 so md doesn't handle direct
reshape of RAID0.

There may be other migrations supported by IMSM that need special
treatment here.

Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c