md: raid10: retrieve page from preallocated resync page array
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Mar 2017 16:12:34 +0000 (00:12 +0800)
committerShaohua Li <shli@fb.com>
Fri, 24 Mar 2017 17:41:37 +0000 (10:41 -0700)
commitcdb76be31568604f389f951bd0efadd3f530f2dd
tree81e873f2d1f7218eab606571812e3188027b1699
parentf0250618361db1447d66c494c6dd2df815f42c87
md: raid10: retrieve page from preallocated resync page array

Now one page array is allocated for each resync bio, and we can
retrieve page from this table directly.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c