Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
- Loading branch information