Josef Bacik abed4aaae4 btrfs: track the csum, extent, and free space trees in a rb tree
In the future we are going to have multiple copies of these trees.  To
facilitate this we need a way to lookup the different roots we are
looking for.  Handle this by adding a global root rb tree that is
indexed on the root->root_key.  Then instead of loading the roots at
mount time with individually targeted keys, simply search the tree_root
for anything with the specific objectid we want.  This will make it
straightforward to support both old style and new style file systems.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-01-03 15:09:50 +01:00
..
2021-09-02 09:21:27 -07:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-11-26 11:24:32 -08:00
2021-08-23 13:19:09 +02:00
2021-10-29 12:38:43 +02:00
2021-10-26 19:08:05 +02:00
2022-01-03 15:09:47 +01:00
2021-11-08 16:55:21 -08:00