diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-05-29 16:52:18 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-05-29 16:52:18 -0400 |
commit | 1e2677e000fbc7f1892b1ea9f952f1667f4443f1 (patch) | |
tree | 9b226e9174b1b851c559210be20701643da25ff0 /fs/btrfs/ctree.h | |
parent | 1de037a43edf67f3a9f66dd197195b3c08febb16 (diff) |
Btrfs: block group switching
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 756ea9d0123b..1bb62867deda 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -249,10 +249,13 @@ struct btrfs_device_item { | |||
249 | /* tag for the radix tree of block groups in ram */ | 249 | /* tag for the radix tree of block groups in ram */ |
250 | #define BTRFS_BLOCK_GROUP_DIRTY 0 | 250 | #define BTRFS_BLOCK_GROUP_DIRTY 0 |
251 | #define BTRFS_BLOCK_GROUP_AVAIL 1 | 251 | #define BTRFS_BLOCK_GROUP_AVAIL 1 |
252 | #define BTRFS_BLOCK_GROUP_HINTS 8 | ||
253 | #define BTRFS_BLOCK_GROUP_SIZE (256 * 1024 * 1024) | 252 | #define BTRFS_BLOCK_GROUP_SIZE (256 * 1024 * 1024) |
253 | |||
254 | |||
255 | #define BTRFS_BLOCK_GROUP_DATA 1 | ||
254 | struct btrfs_block_group_item { | 256 | struct btrfs_block_group_item { |
255 | __le64 used; | 257 | __le64 used; |
258 | u8 flags; | ||
256 | } __attribute__ ((__packed__)); | 259 | } __attribute__ ((__packed__)); |
257 | 260 | ||
258 | struct btrfs_block_group_cache { | 261 | struct btrfs_block_group_cache { |