diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-03 18:24:35 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 14:59:28 +0300 |
commit | 31d89399dad0cf5524bd0e4e2c2827ae7004b2ca (patch) | |
tree | af4c8acc912c0924441f4d700d80a04704d0c05f /fs/btrfs/extent_io.c | |
parent | cd88a4fdbf1e3d55d852dd67c38155ee3ee3469f (diff) | |
download | linux-31d89399dad0cf5524bd0e4e2c2827ae7004b2ca.tar.xz |
btrfs: remove the extent_buffer lookup in btree block checksumming
The checksumming of btree blocks always operates on the entire
extent_buffer, and because btree blocks are always allocated contiguously
on disk they are never split by btrfs_submit_bio.
Simplify the checksumming code by finding the extent_buffer in the
btrfs_bio private data instead of trying to search through the bio_vec.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions