diff options
| author | Qu Wenruo <[email protected]> | 2020-03-05 13:48:31 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-05-25 11:25:17 +0200 |
| commit | 84780289335fe614057e5ddf796050ce15751f4a (patch) | |
| tree | 967607b3f529b05c13de125163cc028a7f4a9c02 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 9569cc203d23ddaed7f7f2ca986a7cda7f1c33c0 (diff) | |
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 <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions