summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1-10.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* md: raid1-10: move raid1/raid10 common code into raid1-10.cMing Lei2017-07-211-0/+62
| | | | | | | | No function change, just move 'struct resync_pages' and related helpers into raid1-10.c Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>
* md: raid1/raid10: initialize bvec table via bio_add_page()Ming Lei2017-07-211-0/+19
We will support multipage bvec soon, so initialize bvec table using the standardy way instead of writing the talbe directly. Otherwise it won't work any more once multipage bvec is enabled. Acked-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>