]> 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>
Wed, 9 Nov 2011 00:32:08 +0000 (11:32 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:08 +0000 (11:32 +1100)
commit9b9209ccb3b5628e26a7e5c1366a5d58ed59a13e
tree983957a153c4d77a6962b984ac2509be225de46d
parent8774164ce4b2bb6de2a1cd43594a0fffea3236ba
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