summaryrefslogtreecommitdiffstats
path: root/include/video/neomagic.h
diff options
context:
space:
mode:
authorNeilBrown2011-12-23 00:17:55 +0100
committerNeilBrown2011-12-23 00:17:55 +0100
commit4ca40c2ce099e4f1ce35445994f49836662596c8 (patch)
tree7d6f2187e8d6aaab0cdcf4924017aeb9725d87b0 /include/video/neomagic.h
parentmd/raid10: handle recovery of replacement devices. (diff)
downloadkernel-qcow2-linux-4ca40c2ce099e4f1ce35445994f49836662596c8.tar.gz
kernel-qcow2-linux-4ca40c2ce099e4f1ce35445994f49836662596c8.tar.xz
kernel-qcow2-linux-4ca40c2ce099e4f1ce35445994f49836662596c8.zip
md/raid10: Allow replacement device to be replace old drive.
When recovery finish and spare_active is called, check for a replace that might have just become fully synced and mark it as such, marking the original as failed. Then when the original is removed, move the replacement into its position. This means that 'replacement' and spontaneously become NULL in some situations. Make sure we check for those. It also means that 'rdev' and 'replacement' could appear to be identical - check for that too. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/video/neomagic.h')
0 files changed, 0 insertions, 0 deletions