aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1-10.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21md: raid1-10: move raid1/raid10 common code into raid1-10.cMing Lei1-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>
2017-07-21md: raid1/raid10: initialize bvec table via bio_add_page()Ming Lei1-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>