summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2025-01-13 22:31:47 +0300
committerDavid Sterba <dsterba@suse.com>2025-01-14 17:51:24 +0300
commit76643119045eed639a3334370cba30c54c4074c1 (patch)
tree3942c854298307bf24a5e46efb92ad90760517cc /tools/perf/scripts/python/export-to-postgresql.py
parent50cae2ca69561cbd9a90308ad2a14a442d230662 (diff)
downloadlinux-76643119045eed639a3334370cba30c54c4074c1.tar.xz
btrfs: fix deletion of a range spanning parts two RAID stripe extents
When a user requests the deletion of a range that spans multiple stripe extents and btrfs_search_slot() returns us the second RAID stripe extent, we need to pick the previous item and truncate it, if there's still a range to delete left, move on to the next item. The following diagram illustrates the operation: |--- RAID Stripe Extent ---||--- RAID Stripe Extent ---| |--- keep ---|--- drop ---| While at it, comment the trivial case of a whole item delete as well. Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions