commit | ba3ae3bee317f0a5db813c026c8a8c113a4e40fb | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Fri Oct 07 14:22:53 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Oct 07 14:22:53 2011 +1100 |
tree | 30a8c9d55afc32156973a3b1efb1cec94f4411d4 | |
parent | e4f869d9de18bc8272df8d0ab764178aa24bdf33 [diff] |
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>