commit | fb0eb5df09307603b21845af1d143cc910154593 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Fri Jul 14 16:14:43 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Fri Jul 21 12:47:20 2017 -0700 |
tree | 7415f28242bf25b9351bde3ea2bd7fcadede3392 | |
parent | 022e510fcbda79183fd2cdc01abb01b4be80d03f [diff] |
md: raid1/raid10: initialize bvec table via bio_add_page() We will support multipage bvec soon, so initialize bvec table using the standardy way instead of writing the talbe directly. Otherwise it won't work any more once multipage bvec is enabled. Acked-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>