diff options
| author | Qu Wenruo <wqu@suse.com> | 2020-03-05 13:48:31 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:17 +0200 |
| commit | 84780289335fe614057e5ddf796050ce15751f4a (patch) | |
| tree | 967607b3f529b05c13de125163cc028a7f4a9c02 /tools/perf/scripts/python | |
| parent | btrfs: reloc: rename mark_block_processed and __mark_block_processed (diff) | |
| download | linux-84780289335fe614057e5ddf796050ce15751f4a.tar.gz linux-84780289335fe614057e5ddf796050ce15751f4a.zip | |
btrfs: reloc: add backref_cache::pending_edge and backref_cache::useless_node
These two new members will act the same as the existing local lists,
@useless and @list in build_backref_tree().
Currently build_backref_tree() is only executed serially, thus moving
such local list into backref_cache is still safe.
Also since we're here, use list_first_entry() to replace a lot of
list_entry() calls after !list_empty().
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
