diff options
| author | Christoph Hellwig <hch@lst.de> | 2025-04-09 13:10:37 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:46 +0200 |
| commit | 3240b2c97bb862352411713592d4094420691abd (patch) | |
| tree | d84186de2186033e784058a0bd75f2ca7e3bcbd5 /scripts/gdb/linux/proc.py | |
| parent | f6b2d8b134b2413b7b3a937a4fe57c8b05fea62e (diff) | |
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 <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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
