Files
linux/fs
Qu Wenruo 2d4e0b84b4 btrfs: introduce submit_compressed_bio() for compression
The new helper, submit_compressed_bio(), will aggregate the following
work:

- Increase compressed_bio::pending_bios
- Remap the endio function
- Map and submit the bio

This slightly reorders calls to btrfs_csum_one_bio or
btrfs_lookup_bio_sums but but none of them does anything regarding IO
submission so this is effectively no change. We mainly care about order
of

- atomic_inc
- btrfs_bio_wq_end_io
- btrfs_map_bio

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-10-26 19:08:04 +02:00
..
2021-08-19 09:02:55 +09:00
2021-10-19 09:36:06 +02:00
2021-04-12 15:04:29 +02:00
2021-08-26 22:28:02 +02:00
2021-09-10 09:46:48 -07:00
2021-06-29 10:53:48 -07:00
2021-08-16 10:50:32 -06:00
2021-08-19 09:02:55 +09:00
2021-01-24 14:27:19 +01:00
2021-10-19 17:09:34 -06:00
2021-06-29 10:53:48 -07:00
2021-08-18 22:08:24 +02:00
2021-02-13 17:17:53 +01:00
2021-08-10 17:57:22 +02:00
2021-01-24 14:27:18 +01:00