diff options
author | Christoph Hellwig <hch@lst.de> | 2025-04-09 13:10:38 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:46 +0200 |
commit | 959ddf28390bae9019f0681ea8a239181be1c0f9 (patch) | |
tree | aa746644c1cb90b15459aa7f3fe7043b7003ab34 /fs/btrfs/compression.c | |
parent | 3240b2c97bb862352411713592d4094420691abd (diff) |
btrfs: move kmapping out of btrfs_check_sector_csum()
Move kmapping the page out of btrfs_check_sector_csum().
This allows using bvec_kmap_local() where suitable and reduces the number
of kmap*() calls in the raid56 code.
This also means btrfs_check_sector_csum() will only accept a properly
kmapped address.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions