diff options
| author | 2018-08-15 10:39:56 +0300 | |
|---|---|---|
| committer | 2018-10-15 17:23:35 +0200 | |
| commit | 0110a4c43451533de1ea1bbdc57b5d452f9d8b25 (patch) | |
| tree | 1ed4551c8b68165b79091e18260f0db80dc963b0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | btrfs: Factor out loop processing all refs of a head (diff) | |
| download | wireguard-linux-0110a4c43451533de1ea1bbdc57b5d452f9d8b25.tar.xz wireguard-linux-0110a4c43451533de1ea1bbdc57b5d452f9d8b25.zip | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
