Qu Wenruo 261d812b04 btrfs: add a helper to iterate through a btrfs_bio with sector sized chunks
Add a helper that works similar to __bio_for_each_segment, but instead of
iterating over PAGE_SIZE chunks it iterates over each sector.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
[hch: split from a larger patch, and iterate over the offset instead of
      the offset bits]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add parameter comments ]
Signed-off-by: David Sterba <dsterba@suse.com>
2022-07-25 17:44:34 +02:00
..
2021-06-22 14:11:57 +02:00
2022-07-25 17:44:33 +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-05-24 19:55:07 -07:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-05-24 19:55:07 -07:00
2022-07-16 13:48:55 -07:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00