aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-08-15 03:39:56 -0400
committerDavid Sterba <dsterba@suse.com>2018-10-15 11:23:35 -0400
commit0110a4c43451533de1ea1bbdc57b5d452f9d8b25 (patch)
tree1ed4551c8b68165b79091e18260f0db80dc963b0 /tools/perf/scripts/python/export-to-postgresql.py
parente726138676f896146a55a98305665e81d34d038c (diff)
btrfs: refactor __btrfs_run_delayed_refs loop
Refactor the delayed refs loop by using the newly introduced btrfs_run_delayed_refs_for_head function. This greatly simplifies __btrfs_run_delayed_refs and makes it more obvious what is happening. We now have 1 loop which iterates the existing delayed_heads and then each selected ref head is processed by the new helper. All existing semantics of the code are preserved so no functional changes. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.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