diff options
| author | Qu Wenruo <[email protected]> | 2022-05-22 13:47:53 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:44:34 +0200 |
| commit | 261d812b04ef82808d25c0e07c8487d82ce18e4e (patch) | |
| tree | ac670cee80330b1b4c91bc89283df88015912442 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | a89ce08ce63808308bb41a087860c245f136928a (diff) | |
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 <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
[hch: split from a larger patch, and iterate over the offset instead of
the offset bits]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ add parameter comments ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions