diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-05-09 20:13:14 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-05-09 20:13:14 -0400 |
commit | e37c9e6921207cf503634b06bee37ecb7904408d (patch) | |
tree | 6f04d434ce9407b01b1fa36139ae8ffc7957fd1c /fs/btrfs/ctree.h | |
parent | 3e1ad54fe2839319c1aa66b954da0753f5b1f906 (diff) |
Btrfs: many allocator fixes, pretty solid
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index cdb7c23c41f9..92a6078de827 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -259,7 +259,9 @@ struct btrfs_block_group_cache { | |||
259 | u64 first_free; | 259 | u64 first_free; |
260 | u64 last_alloc; | 260 | u64 last_alloc; |
261 | u64 pinned; | 261 | u64 pinned; |
262 | u64 last_prealloc; | ||
262 | int data; | 263 | int data; |
264 | int cached; | ||
263 | }; | 265 | }; |
264 | 266 | ||
265 | struct crypto_hash; | 267 | struct crypto_hash; |
@@ -273,6 +275,7 @@ struct btrfs_fs_info { | |||
273 | struct radix_tree_root dev_radix; | 275 | struct radix_tree_root dev_radix; |
274 | struct radix_tree_root block_group_radix; | 276 | struct radix_tree_root block_group_radix; |
275 | struct radix_tree_root block_group_data_radix; | 277 | struct radix_tree_root block_group_data_radix; |
278 | struct radix_tree_root extent_map_radix; | ||
276 | 279 | ||
277 | u64 extent_tree_insert[BTRFS_MAX_LEVEL * 3]; | 280 | u64 extent_tree_insert[BTRFS_MAX_LEVEL * 3]; |
278 | int extent_tree_insert_nr; | 281 | int extent_tree_insert_nr; |