]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid1: Allocate spare to store replacement devices and their bios.
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:12 +0000 (11:32 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:12 +0000 (11:32 +1100)
commit4ceb2165696b5d4630c5b8a5e6228f375f499c94
tree15f3209d3caa12a3f2d57ee47d882acef5834f4b
parentffbc191d8577db04ab3658ddc45975f33f34cc72
md/raid1: Allocate spare to store replacement devices and their bios.

In RAID1, a replacement is much like a normal device, so we just
double the size of the relevant arrays and look at all possible
devices for reads and writes.

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