MD: raid1 changes to allow use by device mapper
authorJonathan Brassow <jbrassow@redhat.com>
Tue, 7 Jun 2011 22:50:35 +0000 (17:50 -0500)
committerNeilBrown <neilb@suse.de>
Wed, 8 Jun 2011 05:11:31 +0000 (15:11 +1000)
commit1ed7242e591af7e233234d483f12d33818b189d9
tree87d4a65cdb3510a97da7f2aefb9534839c49cfa4
parent0fd018af37dadbb7826850883ad8abfecdb1a00b
MD: raid1 changes to allow use by device mapper

MD RAID1: Changes to allow RAID1 to be used by device-mapper (dm-raid.c)

Added the necessary congestion function and conditionalize calls requiring an
array 'queue' or 'gendisk'.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid1.h