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/volumes.c | |
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/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 886f4ba0f71d..d79b5b620e94 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -4983,6 +4983,7 @@ static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key, | |||
4983 | em->bdev = (struct block_device *)map; | 4983 | em->bdev = (struct block_device *)map; |
4984 | em->start = logical; | 4984 | em->start = logical; |
4985 | em->len = length; | 4985 | em->len = length; |
4986 | em->orig_start = 0; | ||
4986 | em->block_start = 0; | 4987 | em->block_start = 0; |
4987 | em->block_len = em->len; | 4988 | em->block_len = em->len; |
4988 | 4989 | ||