]> git.baikalelectronics.ru Git - kernel.git/commit
dm raid1: separate region_hash interface part1
authorHeinz Mauelshagen <hjm@redhat.com>
Tue, 21 Oct 2008 16:45:06 +0000 (17:45 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 21 Oct 2008 16:45:06 +0000 (17:45 +0100)
commitf68410709928decfd3a896918095b2dfacfa76d1
treef70fd0684d1afbde7f0031a6f8cb6aa58880723c
parentf86b471e12841304817159c185ece5bbc19b5d89
dm raid1: separate region_hash interface part1

Separate the region hash code from raid1 so it can be shared by forthcoming
targets.  Use BUG_ON() for failed async dm_io() calls.

Signed-off-by: Heinz Mauelshagen <hjm@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/Makefile
drivers/md/dm-raid1.c
drivers/md/dm-region-hash.c [new file with mode: 0644]
include/linux/dm-region-hash.h [new file with mode: 0644]