aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-05-15 03:48:23 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 11:29:41 -0400
commit199c2a9c3d1389db7f7a211e64f6809d352ce5f6 (patch)
tree8f1e921492d1d5a7b61d98900e8cb3b1b40abdba /fs/btrfs/relocation.c
parenteb73c1b7cea7d533288ef5297a0ea0e159db85b0 (diff)
Btrfs: introduce per-subvolume ordered extent list
The reason we introduce per-subvolume ordered extent list is the same as the per-subvolume delalloc inode list. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r--fs/btrfs/relocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index f6e1b54f05d8..aa559f1161df 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -4164,7 +4164,7 @@ int btrfs_relocate_block_group(struct btrfs_root *extent_root, u64 group_start)
4164 err = ret; 4164 err = ret;
4165 goto out; 4165 goto out;
4166 } 4166 }
4167 btrfs_wait_ordered_extents(fs_info->tree_root, 0); 4167 btrfs_wait_all_ordered_extents(fs_info, 0);
4168 4168
4169 while (1) { 4169 while (1) {
4170 mutex_lock(&fs_info->cleaner_mutex); 4170 mutex_lock(&fs_info->cleaner_mutex);