diff options
| author | Christoph Hellwig <[email protected]> | 2022-06-03 08:57:25 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:45:34 +0200 |
| commit | a4012f06f188b51a69a1f31f0fa10f37e671cebb (patch) | |
| tree | 8a2a32253352a2d3137d7d899b22b7aacbf0502d /tools/perf/scripts/python/flamegraph.py | |
| parent | 5eecef7108350f6506a55d8fd9508ea32caeecad (diff) | |
btrfs: split discard handling out of btrfs_map_block
Mapping block for discard doesn't really share any code with the regular
block mapping case. Split it out into an entirely separate helper
that just returns an array of btrfs_discard_stripe structures and the
number of stripes.
This removes the need for the length field in the btrfs_io_context
structure, so remove tht.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions