aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2021-02-04 19:21:57 +0900
committerDavid Sterba <[email protected]>2021-02-09 02:46:04 +0100
commit953651eb308fb56cd1a2d916e3d3c8b242240651 (patch)
treea96a702730a25aadea0f507b24a23a336fb427bb /tools/perf/scripts/python/exported-sql-viewer.py
parentdcba6e48b518e5e48522e9ea2b73b60827c93146 (diff)
btrfs: factor out helper adding a page to bio
Factor out adding a page to a bio from submit_extent_page(). The page is added only when bio_flags are the same, contiguous and the added page fits in the same stripe as pages in the bio. Condition checks are reordered to allow early return to avoid possibly heavy btrfs_bio_fits_in_stripe() calling. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions