Skip to content
Commit ba3ae3be authored by Namhyung Kim's avatar Namhyung Kim Committed by NeilBrown
Browse files

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: default avatarNamhyung Kim <namhyung@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent e4f869d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment