commit | 778ca01852e6cc9ff335119b37a1938a978df384 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jul 18 17:38:47 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 18 17:38:47 2011 +1000 |
tree | 845221188a1ffaafddac1041c8ced88ac9e6d8c2 | |
parent | 2c4193df379bb89114ff60d4b0fa66131abe6a75 [diff] |
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>