]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid6: let async recovery function support different page offset
authorYufen Yu <yuyufen@huawei.com>
Thu, 20 Aug 2020 13:22:11 +0000 (09:22 -0400)
committerSong Liu <songliubraving@fb.com>
Thu, 24 Sep 2020 23:44:44 +0000 (16:44 -0700)
commitf534f61e9cd61f34127846898d847006cb1561cf
tree055f2e3a8f59534fcc6749846f1a0e1f9bd06b89
parenta630a59bd6d51ccf328c59dd942ba4db2b846547
md/raid6: let async recovery function support different page offset

For now, asynchronous raid6 recovery calculate functions are require
common offset for pages. But, we expect them to support different page
offset after introducing stripe shared page. Do that by simplily adding
page offset where each page address are referred. Then, replace the
old interface with the new ones in raid6 and raid6test.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
crypto/async_tx/async_raid6_recov.c
crypto/async_tx/raid6test.c
drivers/md/raid5.c
include/linux/async_tx.h