]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1987bbb21c815e594b96dea59e3e0d18ef9911aa
tree87d4a65cdb3510a97da7f2aefb9534839c49cfa4
parent1de8a7d7f6af5dcd9418168f67bb8a72c7e65bc2
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