diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-27 10:08:34 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-27 10:08:34 -0400 |
commit | cd1bc4653dc37f6390f4d6df4f987044c64f700b (patch) | |
tree | ff259c33e47159758d70a6d8bdc1ff5d47f710bb /fs/btrfs/ctree.h | |
parent | 9078a3e1e4e489dddc636c7bb8780349d4298743 (diff) | |
download | kernel-crypto-cd1bc4653dc37f6390f4d6df4f987044c64f700b.tar.gz kernel-crypto-cd1bc4653dc37f6390f4d6df4f987044c64f700b.tar.xz kernel-crypto-cd1bc4653dc37f6390f4d6df4f987044c64f700b.zip |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 419917279e6..c432222d40e 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; |