commit | 841c1316c7da6199a7df473893c141943991a756 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Fri Mar 17 00:12:31 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Fri Mar 24 10:41:37 2017 -0700 |
tree | 77bd223263ff1bc03d860f16b4ba4f60571e62b7 | |
parent | d8c84c4f8becc1fb993911e18c8aef5ecf7a72ac [diff] |
md: raid1: improve write behind This patch improve handling of write behind in the following ways: - introduce behind master bio to hold all write behind pages - fast clone bios from behind master bio - avoid to change bvec table directly - use bio_copy_data() and make code more clean Suggested-by: Shaohua Li <shli@fb.com> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>