summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-04-13 00:16:40 +0300
committerDavid Sterba <dsterba@suse.com>2024-05-07 22:31:04 +0300
commitd3fbb00f5e21c6dfaa6e820a21df0c9a3455a028 (patch)
tree553731f24970610a3f170c4ee6637c7ddea59ed3 /fs/btrfs/tree-log.c
parent0eea355fc0f48916f29d1f066d06df49f075a593 (diff)
downloadlinux-d3fbb00f5e21c6dfaa6e820a21df0c9a3455a028.tar.xz
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 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions