summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-09-11 15:53:37 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:07 -0400
commit3a5f1d458ad1610a06e38f0be2fbc6ac215439c0 (patch)
tree00fc015c5b494c7307d5dcae61b2d5d5ed6bf587 /fs/btrfs/disk-io.c
parent49eb7e46d47ea72a9bd2a5f8cedb04f5159cc277 (diff)
downloadlwn-3a5f1d458ad1610a06e38f0be2fbc6ac215439c0.tar.gz
lwn-3a5f1d458ad1610a06e38f0be2fbc6ac215439c0.zip
Btrfs: Optimize btree walking while logging inodes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index ecb74b720262..7c06eb4ecfdd 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1497,7 +1497,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
* low idle thresh
*/
fs_info->endio_workers.idle_thresh = 4;
- fs_info->endio_write_workers.idle_thresh = 4;
+ fs_info->endio_write_workers.idle_thresh = 64;
btrfs_start_workers(&fs_info->workers, 1);
btrfs_start_workers(&fs_info->submit_workers, 1);