From 3df1ceb5f3896a58b11381d1987b9b40defa0643 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Thu, 16 Mar 2017 16:06:43 +0100 Subject: Only use more than 4 fsync processes when using fsdb --- tools/compileconfig.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/compileconfig.py b/tools/compileconfig.py index c2463df..b4e4e46 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -316,6 +316,10 @@ def gen_config(nodename, config, localconfig): plopconfig += [ (Symbol("db_backend"), Symbol(dbbackend)), ] + if dbbackend != "fsdb": + plopconfig += [ + (Symbol("fsync_parallel_tasks"), 4), + ] if dbbackend == "permdb" and len(localconfig["localnodes"]) != 1: print >>sys.stderr, "When using permdb, all services have to be in the same node" sys.exit(1) -- cgit v1.1