rocksdb: remove the hard-coded reactor mask

Change-Id: I20cf909058a008435b80066ea4d18345081cf0c0
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/374245
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
GangCao 2017-08-14 23:11:34 -04:00 committed by Jim Harris
parent 95399c118e
commit 58ce0711eb
2 changed files with 2 additions and 8 deletions

View File

@ -12,14 +12,9 @@
# Ex. [TargetNode1] = TargetNode section key with tag number 1
[Global]
# Users can restrict work items to only run on certain cores by
# specifying a WorkerMask. Default is to allow work items to run
# specifying a ReactorMask. Default is to allow work items to run
# on all cores.
#WorkerMask 0xFFFF
# Event mask for ids history buffers
# Default: 0x0 (all events disabled)
# Set to 0xFFFFFFFFFFFFFFFF to enable all events.
#EventMask 0x0
#ReactorMask 0x1
[Rpc]
# Defines whether spdk will enable configuration via RPC.

View File

@ -532,7 +532,6 @@ SpdkEnv::SpdkEnv(Env *base_env, const std::string &dir, const std::string &conf,
spdk_app_opts_init(opts);
opts->name = "rocksdb";
opts->config_file = mConfig.c_str();
opts->reactor_mask = "0x1";
opts->mem_size = 1024 + cache_size_in_mb;
opts->shutdown_cb = spdk_rocksdb_shutdown;