Christoph Hellwig
542e300e83
btrfs: support cloned bios in btree_csum_one_bio
...
To allow splitting bios in btrfs_submit_bio, btree_csum_one_bio needs to
be able to handle cloned bios. As btree_csum_one_bio is always called
before handing the bio to the block layer that is trivially done by using
bio_for_each_segment instead of bio_for_each_segment_all. Also switch
the function to take a btrfs_bio and use that to derive the fs_info.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-02-15 19:38:52 +01:00
..
2022-12-05 18:00:54 +01:00
2022-12-05 18:00:58 +01:00
2022-12-05 18:00:58 +01:00
2022-12-12 20:47:51 -08:00
2022-12-12 20:47:51 -08:00
2022-05-16 17:03:15 +02:00
2022-07-25 17:45:36 +02:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:50 +01:00
2023-02-15 19:38:52 +01:00
2023-02-15 19:38:52 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:48 +01:00
2022-12-05 18:00:48 +01:00
2023-02-15 19:38:52 +01:00
2022-12-05 18:00:57 +01:00
2022-05-16 17:03:12 +02:00
2023-02-15 19:38:52 +01:00
2022-12-05 18:00:55 +01:00
2022-12-05 18:00:59 +01:00
2022-12-12 18:46:39 -08:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:45 +01:00
2022-12-05 18:00:44 +01:00
2022-12-05 18:00:53 +01:00
2022-12-05 18:00:43 +01:00
2023-02-13 17:50:33 +01:00
2023-02-13 17:50:33 +01:00
2022-12-05 18:00:57 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:46 +01:00
2023-02-15 19:38:50 +01:00
2020-12-08 15:54:02 +01:00
2023-02-15 19:38:52 +01:00
2023-02-15 19:38:52 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:41 +01:00
2023-02-15 19:38:52 +01:00
2023-02-15 19:38:51 +01:00
2022-12-05 18:00:56 +01:00
2022-12-05 18:00:56 +01:00
2023-02-15 19:38:50 +01:00
2023-02-15 19:38:51 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:34 +01:00
2023-02-15 19:38:52 +01:00
2023-02-15 19:38:52 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:56 +01:00
2022-12-05 18:00:55 +01:00
2022-12-05 18:00:45 +01:00
2022-12-05 18:00:51 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:35 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:43 +01:00
2023-02-15 19:38:52 +01:00
2022-12-12 20:47:51 -08:00
2022-12-05 18:00:46 +01:00
2022-01-20 08:52:55 +02:00
2022-12-05 18:00:42 +01:00
2022-12-05 18:00:44 +01:00
2023-02-15 19:38:50 +01:00
2023-02-15 19:38:50 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:33 +01:00
2023-02-13 17:50:33 +01:00
2022-12-05 18:00:48 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:57 +01:00
2021-01-07 17:25:05 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:40 +01:00
2023-01-16 19:46:54 +01:00
2022-12-05 18:00:43 +01:00
2023-02-15 19:38:50 +01:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:59 +01:00
2022-12-05 18:00:42 +01:00
2022-12-05 18:00:53 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:44 +01:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:47 +01:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:41 +01:00
2023-01-11 20:04:25 +01:00
2022-12-05 18:00:44 +01:00
2022-12-05 18:00:41 +01:00
2022-05-16 17:03:11 +02:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:47 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:35 +01:00
2023-02-13 17:50:33 +01:00
2022-12-05 18:00:58 +01:00
2022-12-05 18:00:57 +01:00
2023-02-13 17:50:34 +01:00
2023-02-13 17:50:34 +01:00
2022-12-05 18:00:58 +01:00
2022-12-05 18:00:48 +01:00
2022-12-05 18:00:50 +01:00
2022-12-05 18:00:50 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:46 +01:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2023-02-15 19:38:50 +01:00
2022-12-05 18:00:57 +01:00
2022-12-05 18:00:46 +01:00
2023-01-25 20:11:08 +01:00
2023-02-15 19:38:52 +01:00
2023-02-15 19:38:52 +01:00
2022-12-05 18:00:55 +01:00