commit | fe8cf654b1ccf7f0b49cc0de9e6ad8a56529e384 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Wed Jul 22 13:14:47 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Sun Aug 09 07:07:11 2015 -0700 |
tree | 734e6916b0662d77a1e3a60ffb3b08418e16231a | |
parent | a0dd59de3c73fbb3b738eaf333732f2f27254a2c [diff] |
btrfs: Load only necessary csums into list in scrub We need not load csum of whole strip in scrub because strip is trimed before use, it is to say, what we really need to calculate csum is data between [extent_logical, extent_len). This patch changed to use above segment for btrfs_lookup_csums_range() in scrub_stripe() Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>