diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-03-28 14:19:51 +0900 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:21 +0200 |
| commit | 11d33ab6c1f3096194febc6b67c250b3476effa2 (patch) | |
| tree | db573b9f60810953a660def26cffc6a4469f2169 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | btrfs: move ordered_extent internal sanity checks into btrfs_split_ordered_ex... (diff) | |
| download | linux-11d33ab6c1f3096194febc6b67c250b3476effa2.tar.gz linux-11d33ab6c1f3096194febc6b67c250b3476effa2.zip | |
btrfs: simplify splitting logic in btrfs_extract_ordered_extent
btrfs_extract_ordered_extent is always used to split an ordered_extent
and extent_map into two parts, so it doesn't need to deal with a three
way split.
Simplify it by only allowing for a single split point, and always split
out the beginning of the extent, as that is what we'll later need to
be able to hold on to a reference to the original ordered_extent that
the first part is split off for submission.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Tested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
