diff options
author | Henning Baldersheim <balder@oath.com> | 2018-03-21 14:19:02 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-04-09 14:19:49 +0200 |
commit | 877fe5a7120e2b5084581f7c1c0f6fc2cf364820 (patch) | |
tree | e55244acbd0d7867b1ab54e524081d2f9e589a6c /storage | |
parent | 96071a9312fbc01038050726b1bd7d07f44fde0b (diff) |
Start with a single stripe for now.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp | 2 |
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 1c2e415c39c..0c84010dfd9 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp +++ b/storage/src/vespa/storage/persistence/filestorage/filestormanager.cpp @@ -116,7 +116,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(numThreads, numThreads), *this, *_metrics, _partitions, _compReg)); + _filestorHandler.reset(new FileStorHandler(std::min(1ul, 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); |