aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-04-09 11:10:36 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:46 +0000
commitf6b2d8b134b2413b7b3a937a4fe57c8b05fea62e (patch)
treea589496cba5fa3dda165657ae114b1ad16349001 /fs/btrfs/async-thread.c
parentbtrfs: remove the alignment checks in end_bbio_data_read() (diff)
downloadkernel-f6b2d8b134b2413b7b3a937a4fe57c8b05fea62e.tar.gz
kernel-f6b2d8b134b2413b7b3a937a4fe57c8b05fea62e.zip
btrfs: track the next file offset in struct btrfs_bio_ctrl
The bio implementation is not something we should really mess around, and we shouldn't recalculate the pos from the folio over and over. Instead just track then end of the current bio in logical file offsets in the btrfs_bio_ctrl, which is much simpler and easier to read. 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