aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-27 08:16:58 -0700
committerDavid Sterba <dsterba@suse.com>2023-04-17 18:01:15 +0200
commitc9bc621fb4988d5e1bd96d552bb3fda199638864 (patch)
treef158d365c6f6c2b67c9d61b671dbacbd9f293084 /tools/perf/scripts/python
parentbtrfs: add a wbc pointer to struct btrfs_bio_ctrl (diff)
downloadlinux-c9bc621fb4988d5e1bd96d552bb3fda199638864.tar.gz
linux-c9bc621fb4988d5e1bd96d552bb3fda199638864.zip
btrfs: move the compress_type check out of btrfs_bio_add_page
The compress_type can only change on a per-extent basis. So instead of checking it for every page in btrfs_bio_add_page, do the check once in btrfs_do_readpage, which is the only caller of btrfs_bio_add_page and submit_extent_page that deals with compressed extents. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions