]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/config_opts.h: use string for rocksdb options.
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Fri, 8 May 2015 07:59:23 +0000 (15:59 +0800)
committerXiaoxi Chen <xiaoxi.chen@intel.com>
Wed, 13 May 2015 00:22:45 +0000 (08:22 +0800)
commit39dc8667731d8f820e1f3e7f650883aad55026ac
tree46e6da5c6c64d803fc9eda6c7778c9a1f692f3e7
parent9c64bae3c810301dd7718d62862bb4e00e8ffd17
common/config_opts.h: use string for rocksdb options.

Now we can drop the ugly rocksdb interpret options, and
have
  // rocksdb options that will be used for keyvaluestore(if backend is rocksdb)
  OPTION(keyvaluestore_rocksdb_options, OPT_STR, "")
  // rocksdb options that will be used for omap(if omap_backend is rocksdb)
  OPTION(omap_rocksdb_options, OPT_STR, "")
  // rocksdb options that will be used in monstore
  OPTION(mon_rocksdb_options, OPT_STR, "")

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
src/common/config_opts.h