aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-03-05 14:06:29 +0800
committerDavid Sterba <[email protected]>2020-05-25 11:25:17 +0200
commit4007ea87d900e20a7986cdcdcfdc866e8f8bd473 (patch)
tree2374d8e2be9d502584eaa98730b31b820299291a /tools/perf/scripts/python/netdev-times.py
parent2433bea592d26daf6bd15492ce4262b598a7f804 (diff)
btrfs: reloc: refactor direct tree backref processing into its own function
For BTRFS_SHARED_BLOCK_REF_KEY, its processing is straightforward, as we now the parent node bytenr directly. If the parent is already cached, or a root, call it a day. If the parent is not cached, add it pending list. This patch will just refactor this part into its own function, handle_direct_tree_backref() and add some comment explaining the @ref_key parameter. 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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions