]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c81e931c9b569ef2fc142cb225338dc9a1a9310
tree81e873f2d1f7218eab606571812e3188027b1699
parentfc286beeab3b94f3b5a985903afed009d31c9036
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