summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:25:04 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-10-15 16:25:04 -0400
commit08c66b7738e17ae2879d767a59ebec56c7a189b2 (patch)
treea9e2d24eac5cbeaf18f8ddfb4ab5ffb661068b0a /ctree.h
parentf12d799856c27ba425db93e5829f6b858bc03561 (diff)
Stop using radix trees to record pending allocations
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ctree.h b/ctree.h
index df4cfda3..b37de525 100644
--- a/ctree.h
+++ b/ctree.h
@@ -21,6 +21,7 @@
#include "list.h"
#include "kerncompat.h"
+#include "pending-extent.h"
struct btrfs_trans_handle;
@@ -280,11 +281,12 @@ struct btrfs_fs_info {
struct btrfs_root *fs_root;
struct btrfs_root *extent_root;
struct btrfs_root *tree_root;
- struct btrfs_key current_insert;
struct btrfs_key last_insert;
struct radix_tree_root cache_radix;
- struct radix_tree_root pinned_radix;
struct radix_tree_root block_group_radix;
+ struct pending_tree pending_tree;
+ struct pending_tree pinned_tree;
+ struct pending_tree del_pending;
struct list_head trans;
struct list_head cache;
u64 last_inode_alloc;
@@ -298,8 +300,7 @@ struct btrfs_fs_info {
/*
* in ram representation of the tree. extent_root is used for all allocations
- * and for the extent tree extent_root root. current_insert is used
- * only for the extent tree.
+ * and for the extent tree extent_root root.
*/
struct btrfs_root {
struct btrfs_buffer *node;