aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-04-09 11:10:39 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:46 +0000
commit6f3f722df7254b7e652e042a93f7e2b011223af0 (patch)
treedd18696a2b439c2048b13d258351ba67ace722b0 /fs/btrfs/async-thread.c
parentbtrfs: move kmapping out of btrfs_check_sector_csum() (diff)
downloadkernel-6f3f722df7254b7e652e042a93f7e2b011223af0.tar.gz
kernel-6f3f722df7254b7e652e042a93f7e2b011223af0.zip
btrfs: simplify bvec iteration in index_one_bio()
Flatten the two loops by open coding bio_for_each_segment() and advancing the iterator one sector at a time. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> [ Fix a bug that @offset is not increased. ] 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