diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-10-11 16:54:30 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:24 -0500 |
commit | 70c8a91ce21b83ccd2d9e7c968775430ead4353d (patch) | |
tree | dc1e83734b08836fc278ae2d763c5d75cc3d4de0 /fs/btrfs/ctree.h | |
parent | d6393786cd40f67709324bc4f08d7e4b911153fe (diff) |
Btrfs: log changed inodes based on the extent map tree
We don't really need to copy extents from the source tree since we have all
of the information already available to us in the extent_map tree. So
instead just write the extents straight to the log tree and don't bother to
copy the extent items from the source tree.
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.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 9ed452f5d062..55aff6764bb9 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -3187,6 +3187,9 @@ static inline int btrfs_insert_empty_item(struct btrfs_trans_handle *trans, | |||
3187 | } | 3187 | } |
3188 | 3188 | ||
3189 | int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path); | 3189 | int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path); |
3190 | int btrfs_next_leaf_write(struct btrfs_trans_handle *trans, | ||
3191 | struct btrfs_root *root, struct btrfs_path *path, | ||
3192 | int del); | ||
3190 | int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path, | 3193 | int btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path, |
3191 | u64 time_seq); | 3194 | u64 time_seq); |
3192 | static inline int btrfs_next_old_item(struct btrfs_root *root, | 3195 | static inline int btrfs_next_old_item(struct btrfs_root *root, |