diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-22 14:06:56 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-22 14:06:56 -0400 |
commit | 8bfbb6b6f83975d85cf2f2018d9c08d0e6cfb500 (patch) | |
tree | fc2d28d6a05cba2f92e303f98e9fca122b26cf3b /ctree.h | |
parent | 358564890ac230ccc8af2661268a6bcb0d6ea18f (diff) |
Update the Ext3 converter
The main changes in this patch are adding chunk handing and data relocation
ability. In the last step of conversion, the converter relocates data in system
chunk and move chunk tree into system chunk. In the rollback process, the
converter remove chunk tree from system chunk and copy data back.
Regards
YZ
---
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -513,8 +513,7 @@ struct btrfs_fs_info { struct btrfs_fs_devices *fs_devices; struct list_head space_info; - int fp; - int force_system_allocs; + int system_allocs; void *priv_data; }; @@ -1331,6 +1330,8 @@ int btrfs_make_block_group(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytes_used, u64 type, u64 chunk_objectid, u64 chunk_offset, u64 size); +int btrfs_make_block_groups(struct btrfs_trans_handle *trans, + struct btrfs_root *root); u64 btrfs_hash_extent_ref(u64 root_objectid, u64 ref_generation, u64 owner, u64 owner_offset); int btrfs_update_block_group(struct btrfs_trans_handle *trans, |