]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid5: If there is a spare and a replaceable device, start replacement.
authorNeilBrown <neilb@suse.de>
Fri, 9 Dec 2011 03:27:05 +0000 (14:27 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 9 Dec 2011 03:27:05 +0000 (14:27 +1100)
commitb1a8069846ace5cba92104a0c84e7223f9d29858
treedd05146fda3a0797c550cb1d546d91fc49fd7253
parent66c3f01ddd7828c3e42af421d076344f5c400024
md/raid5: If there is a spare and a replaceable device, start replacement.

When attempting to add a spare to a RAID[456] array, also consider
adding it as a replacement for a replaceable device.

This requires that common md code attempt hot_add even when the array
is not formally degraded.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/raid5.c