aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-03-05 14:06:29 +0800
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:17 +0200
commit4007ea87d900e20a7986cdcdcfdc866e8f8bd473 (patch)
tree2374d8e2be9d502584eaa98730b31b820299291a /tools/perf/scripts/python/export-to-sqlite.py
parentbtrfs: reloc: make reloc root search-specific for relocation backref cache (diff)
downloadlinux-4007ea87d900e20a7986cdcdcfdc866e8f8bd473.tar.gz
linux-4007ea87d900e20a7986cdcdcfdc866e8f8bd473.zip
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 <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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions