summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-03-22 20:52:52 +0000
committerHenning Baldersheim <balder@oath.com>2018-04-09 14:19:49 +0200
commit983ecb85f3645c4912a7df494ca4a364c524baac (patch)
tree5787cb82d1daf633e0948e52deed07b433308c04 /storage
parent5657abcf9c7342b23f100a2d8e979f18140c352a (diff)
One thread per strip
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp
index e7a7fffc95b..094f6b44389 100644
--- a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp
+++ b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp
@@ -114,7 +114,7 @@ FileStorManager::configure(std::unique_ptr<vespa::config::content::StorFilestorC
size_t numThreads = _config->numThreads;
_metrics->initDiskMetrics(_disks.size(), _component.getLoadTypes()->getMetricLoadTypes(), numThreads);
- _filestorHandler.reset(new FileStorHandler(std::min(1ul, numThreads), *this, *_metrics, _partitions, _compReg));
+ _filestorHandler.reset(new FileStorHandler(std::min(numThreads, numThreads), *this, *_metrics, _partitions, _compReg));
for (uint32_t i=0; i<_component.getDiskCount(); ++i) {
if (_partitions[i].isUp()) {
LOG(spam, "Setting up disk %u", i);