aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-02-27 21:46:13 -0500
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:17:11 -0400
commit736cfa15e89a654436d4149c109bf1ae09fc67cf (patch)
tree3653221246447e904225d2bcee6048d95d46014b /fs/btrfs/super.c
parente66f0bb14465371d4c86fa70cff2acc331efa1fb (diff)
btrfs: Replace fs_info->readahead_workers workqueue with btrfs_workqueue.
Replace the fs_info->readahead_workers with the newly created btrfs_workqueue. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Tested-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index b84fbe04f05a..ce9d012a77e8 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1336,7 +1336,7 @@ static void btrfs_resize_thread_pool(struct btrfs_fs_info *fs_info,
1336 btrfs_workqueue_set_max(fs_info->endio_write_workers, new_pool_size); 1336 btrfs_workqueue_set_max(fs_info->endio_write_workers, new_pool_size);
1337 btrfs_workqueue_set_max(fs_info->endio_freespace_worker, new_pool_size); 1337 btrfs_workqueue_set_max(fs_info->endio_freespace_worker, new_pool_size);
1338 btrfs_set_max_workers(&fs_info->delayed_workers, new_pool_size); 1338 btrfs_set_max_workers(&fs_info->delayed_workers, new_pool_size);
1339 btrfs_set_max_workers(&fs_info->readahead_workers, new_pool_size); 1339 btrfs_workqueue_set_max(fs_info->readahead_workers, new_pool_size);
1340 btrfs_set_max_workers(&fs_info->scrub_wr_completion_workers, 1340 btrfs_set_max_workers(&fs_info->scrub_wr_completion_workers,
1341 new_pool_size); 1341 new_pool_size);
1342} 1342}