Commit 58ce0711 authored by GangCao's avatar GangCao Committed by Jim Harris
Browse files

rocksdb: remove the hard-coded reactor mask



Change-Id: I20cf909058a008435b80066ea4d18345081cf0c0
Signed-off-by: default avatarGangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/374245


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 95399c11
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -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.
+0 −1
Original line number Diff line number Diff line
@@ -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;