summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-27 18:16:58 +0300
committerDavid Sterba <dsterba@suse.com>2023-04-17 19:01:15 +0300
commitc9bc621fb4988d5e1bd96d552bb3fda199638864 (patch)
treef158d365c6f6c2b67c9d61b671dbacbd9f293084 /include/linux/timerqueue.h
parent72b505dc57573e1026bc9b8178a5e36804f339b8 (diff)
downloadlinux-c9bc621fb4988d5e1bd96d552bb3fda199638864.tar.xz
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions