aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-04-09 11:10:37 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:46 +0000
commit3240b2c97bb862352411713592d4094420691abd (patch)
treed84186de2186033e784058a0bd75f2ca7e3bcbd5 /fs/btrfs/async-thread.c
parentbtrfs: track the next file offset in struct btrfs_bio_ctrl (diff)
downloadkernel-3240b2c97bb862352411713592d4094420691abd.tar.gz
kernel-3240b2c97bb862352411713592d4094420691abd.zip
btrfs: pass a physical address to btrfs_repair_io_failure()
Using physical address has the following advantages: - All involved callers only need a single pointer Instead of the old @folio + @offset pair. - No complex poking into the bio_vec structure As a bio_vec can be single or multiple paged, grabbing the real page can be quite complex if the bio_vec is a multi-page one. Instead bvec_phys() will always give a single physical address, and it cab be easily converted to a page. 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