Christoph Hellwig fed8a72df1 btrfs: don't use btrfs_bio_wq_end_io for compressed writes
Compressed write bio completion is the only user of btrfs_bio_wq_end_io
for writes, and the use of btrfs_bio_wq_end_io is a little suboptimal
here as we only real need user context for the final completion of a
compressed_bio structure, and not every single bio completion.

Add a work_struct to struct compressed_bio instead and use that to call
finish_compressed_bio_write.  This allows to remove all handling of
write bios in the btrfs_bio_wq_end_io infrastructure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-07-25 17:45:33 +02:00
..
2021-06-22 14:11:57 +02:00
2022-05-24 19:55:07 -07:00
2022-07-16 13:48:55 -07:00
2022-06-26 10:11:36 -07:00
2022-05-24 19:55:07 -07:00
2022-07-25 17:44:33 +02:00
2022-05-24 19:55:07 -07:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00