diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-04-12 22:57:13 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:05 +0200 |
commit | cf4f04325b2b27efa5697ba0ea4c1abdee0035b4 (patch) | |
tree | ca74b2f1022f2000511fb7411ee93b5319bdb050 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 12390e42b69d7e439cc2a266b6c7b4e1116de7c9 (diff) |
btrfs: move ->parent and ->ref_root into btrfs_delayed_ref_node
These two members are shared by both the tree refs and data refs, so
move them into btrfs_delayed_ref_node proper. This allows us to greatly
simplify the comparison code, as the shared refs always only sort on
parent, and the non shared refs always sort first on ref_root, and then
only data refs sort on their specific fields.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.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-postgresql.py')
0 files changed, 0 insertions, 0 deletions