diff options
| author | Christoph Hellwig <[email protected]> | 2025-04-09 11:10:38 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:46 +0000 |
| commit | 959ddf28390bae9019f0681ea8a239181be1c0f9 (patch) | |
| tree | aa746644c1cb90b15459aa7f3fe7043b7003ab34 /fs/btrfs/async-thread.c | |
| parent | btrfs: pass a physical address to btrfs_repair_io_failure() (diff) | |
| download | kernel-959ddf28390bae9019f0681ea8a239181be1c0f9.tar.gz kernel-959ddf28390bae9019f0681ea8a239181be1c0f9.zip | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
