diff options
author | 2024-04-12 17:16:40 -0400 | |
---|---|---|
committer | 2024-05-07 21:31:04 +0200 | |
commit | d3fbb00f5e21c6dfaa6e820a21df0c9a3455a028 (patch) | |
tree | 553731f24970610a3f170c4ee6637c7ddea59ed3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add a helper to get the delayed ref node from the data/tree ref (diff) | |
download | wireguard-linux-d3fbb00f5e21c6dfaa6e820a21df0c9a3455a028.tar.xz wireguard-linux-d3fbb00f5e21c6dfaa6e820a21df0c9a3455a028.zip |
btrfs: embed data_ref and tree_ref in btrfs_delayed_ref_node
We have been embedding btrfs_delayed_ref_node in the
btrfs_delayed_data_ref and btrfs_delayed_tree_ref, and then we have two
sets of cachep's and a variety of handling that is awkward because of
this separation.
Instead union these two members inside of btrfs_delayed_ref_node and
make that the first class object. This allows us to go down to one
cachep for our delayed ref nodes instead of two.
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