diff options
| author | Christoph Hellwig <[email protected]> | 2023-02-27 08:17:03 -0700 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-04-17 18:01:16 +0200 |
| commit | 78a2ef1b7b332caaf6466be0b2608082e7c9e7ea (patch) | |
| tree | 8ee7b801b40afc08d48c1a1f3127b14aabe3ff75 /tools/perf/scripts/python | |
| parent | 5380311fc8b7baa45011a9b45193b8ba11fc0efb (diff) | |
btrfs: check for contiguity in submit_extent_page
Different loop iterations in btrfs_bio_add_page not only have the same
contiguity parameters, but also any non-initial operation operates on a
fresh bio anyway.
Factor out the contiguity check into a new btrfs_bio_is_contig and only
call it once in submit_extent_page before descending into the
bio_add_page loop.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions