diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-04-12 17:16:40 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:04 +0200 |
commit | d3fbb00f5e21c6dfaa6e820a21df0c9a3455a028 (patch) | |
tree | 553731f24970610a3f170c4ee6637c7ddea59ed3 /samples/configfs | |
parent | 0eea355fc0f48916f29d1f066d06df49f075a593 (diff) |
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 'samples/configfs')
0 files changed, 0 insertions, 0 deletions