]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid1: factor out common bio handling code
authorNamhyung Kim <namhyung@gmail.com>
Fri, 7 Oct 2011 03:22:53 +0000 (14:22 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 7 Oct 2011 03:22:53 +0000 (14:22 +1100)
commitcdebaa3e372d6aec7833b4aa8f6e5030e3c5e4e0
tree30a8c9d55afc32156973a3b1efb1cec94f4411d4
parenta0d07608b115ffd6edca88ecf78a315eca039974
md/raid1: factor out common bio handling code

When normal-write and sync-read/write bio completes, we should
find out the disk number the bio belongs to. Factor those common
code out to a separate function.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c