summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
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/sched-migration.py
parent72b505dc57573e1026bc9b8178a5e36804f339b8 (diff)
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions