diff options
author | Yufen Yu <yuyufen@huawei.com> | 2020-08-20 16:22:07 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-09-25 02:44:44 +0300 |
commit | 248728dd04f5804ed1ff13bb4db9795899d25dca (patch) | |
tree | 3b86ab76d0a00b30425520e88d70ddf51b796179 /include/linux/async_tx.h | |
parent | 7aba13b7152979450270da5602f16f6f28fd35b8 (diff) | |
download | linux-248728dd04f5804ed1ff13bb4db9795899d25dca.tar.xz |
md/raid5: make async_copy_data() to support different page offset
ops_run_biofill() and ops_run_biodrain() will call async_copy_data()
to copy sh->dev[i].page from or to bio page. For now, it implies the
offset of dev[i].page is 0. But we want to support different page offset
in the following.
Thus, pass page offset to these functions and replace 'page_offset'
with 'page_offset + poff'.
No functional change.
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'include/linux/async_tx.h')
0 files changed, 0 insertions, 0 deletions