aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-27 10:08:34 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-27 10:08:34 -0400
commitcd1bc4653dc37f6390f4d6df4f987044c64f700b (patch)
treeff259c33e47159758d70a6d8bdc1ff5d47f710bb /fs/btrfs/ctree.h
parent9078a3e1e4e489dddc636c7bb8780349d4298743 (diff)
downloadkernel_samsung_smdk4412-cd1bc4653dc37f6390f4d6df4f987044c64f700b.zip
kernel_samsung_smdk4412-cd1bc4653dc37f6390f4d6df4f987044c64f700b.tar.gz
kernel_samsung_smdk4412-cd1bc4653dc37f6390f4d6df4f987044c64f700b.tar.bz2
Btrfs: more block allocator work
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 4199172..c432222 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -250,6 +250,8 @@ struct btrfs_block_group_item {
struct btrfs_block_group_cache {
struct btrfs_key key;
struct btrfs_block_group_item item;
+ u64 first_free;
+ u64 last_alloc;
};
struct crypto_hash;
@@ -257,7 +259,7 @@ struct btrfs_fs_info {
struct btrfs_root *extent_root;
struct btrfs_root *tree_root;
struct btrfs_root *dev_root;
- struct btrfs_key last_insert;
+ struct btrfs_block_group_cache *block_group_cache;
struct radix_tree_root fs_roots_radix;
struct radix_tree_root pending_del_radix;
struct radix_tree_root pinned_radix;