Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128893
b: refs/heads/master
c: b720d20
h: refs/heads/master
i:
  128891: a476fbc
v: v3
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent d0c4a22 commit 8898aa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db69e0ebae944690de89851315404f483e6464e0
refs/heads/master: b720d209524fccdd33a499351f2ca880b8c0ffb4
4 changes: 3 additions & 1 deletion trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,9 @@ struct btrfs_root *open_ctree(struct super_block *sb,
* cannot dynamically grow.
*/
btrfs_init_workers(&fs_info->workers, fs_info->thread_pool_size);
btrfs_init_workers(&fs_info->submit_workers, fs_info->thread_pool_size);
btrfs_init_workers(&fs_info->submit_workers,
min_t(u64, fs_devices->num_devices,
fs_info->thread_pool_size));

/* a higher idle thresh on the submit workers makes it much more
* likely that bios will be send down in a sane order to the
Expand Down

0 comments on commit 8898aa1

Please sign in to comment.