diff options
author | 2024-04-12 22:57:13 -0400 | |
---|---|---|
committer | 2024-05-07 21:31:05 +0200 | |
commit | cf4f04325b2b27efa5697ba0ea4c1abdee0035b4 (patch) | |
tree | ca74b2f1022f2000511fb7411ee93b5319bdb050 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: rename ->len to ->num_bytes in btrfs_ref (diff) | |
download | wireguard-linux-cf4f04325b2b27efa5697ba0ea4c1abdee0035b4.tar.xz wireguard-linux-cf4f04325b2b27efa5697ba0ea4c1abdee0035b4.zip |
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