commit | 4543df7ecc8ae4928c1e51d6e7dc188d650abee4 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Jun 11 21:47:56 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:03 2008 -0400 |
tree | c0e32d2bdaaf26f6819f5f034ed8f1679d23109f | |
parent | 35d8ba66294ff2a53c17337a1aa1ff6739492f41 [diff] |
Btrfs: Add a mount option to control worker thread pool size mount -o thread_pool_size changes the default, which is min(num_cpus + 2, 8). Larger thread pools would make more sense on very large disk arrays. This mount option controls the max size of each thread pool. There are multiple thread pools, so the total worker count will be larger than the mount option. Signed-off-by: Chris Mason <chris.mason@oracle.com>