diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2024-09-27 12:30:05 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-11-11 14:34:13 +0100 |
commit | 2206265f41e979b37213fa6da14e73f837c57a54 (patch) | |
tree | 0f1d703fa0bc293c197163fce8b7baeb7d400717 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7e06de7c83a746e58d4701e013182af133395188 (diff) |
btrfs: remove code duplication in ordered extent finishing
Remove the duplicated transaction joining, block reserve setting and raid
extent inserting in btrfs_finish_ordered_extent().
While at it, also abort the transaction in case inserting a RAID
stripe-tree entry fails.
Suggested-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
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