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)
commit4f86ff5580fa692f850f37f948c73814a24a722b
tree055f2e3a8f59534fcc6749846f1a0e1f9bd06b89
parentd69454bc9fdfb63e84152e0533454079ea3e38a3
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