aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-05-22 09:26:44 +0100
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:20 +0200
commitded980eb3fadd79f73a1254e6b26551c4d6c8ab9 (patch)
treeb3099bf3bc557c2a7f860422d9aca31393a1d63d /tools/perf/scripts/python/task-analyzer.py
parentbtrfs: scrub: avoid create/commit empty transaction at finish_extent_writes_f... (diff)
downloadlinux-ded980eb3fadd79f73a1254e6b26551c4d6c8ab9.tar.gz
linux-ded980eb3fadd79f73a1254e6b26551c4d6c8ab9.zip
btrfs: add and use helper to commit the current transaction
We have several places that attach to the current transaction with btrfs_attach_transaction_barrier() and then commit the transaction if there is one. Add a helper and use it to deduplicate this pattern. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions