]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: factor out common bio handling code
authorNamhyung Kim <namhyung@gmail.com>
Mon, 18 Jul 2011 07:38:47 +0000 (17:38 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 18 Jul 2011 07:38:47 +0000 (17:38 +1000)
commit812dc74bfb6dd2ce2e629d58a392f5ef03f6b553
tree845221188a1ffaafddac1041c8ced88ac9e6d8c2
parent01c0b74f7d1d69938c2772e5ee6238b4464b6930
md/raid10: 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/raid10.c