summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-26 09:36:37 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:33 +0200
commit02bb5b72470facec78e03cdea9f01ca8c7fe7835 (patch)
tree10c8b4497f6d5ebfc27d97524b844791950602c8 /fs/btrfs/compression.h
parentbtrfs: defer I/O completion based on the btrfs_raid_bio (diff)
downloadlinux-02bb5b72470facec78e03cdea9f01ca8c7fe7835.tar.xz
linux-02bb5b72470facec78e03cdea9f01ca8c7fe7835.zip
btrfs: don't double-defer bio completions for compressed reads
The bio completion handler of the bio used for the compressed data is already run in a workqueue using btrfs_bio_wq_end_io, so don't schedule the completion of the original bio to the same workqueue again but just execute it directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.h')
0 files changed, 0 insertions, 0 deletions