]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
config: add 'crush location' option
authorSage Weil <sage@inktank.com>
Tue, 29 Oct 2013 23:19:37 +0000 (16:19 -0700)
committerSage Weil <sage@inktank.com>
Mon, 23 Dec 2013 20:31:58 +0000 (12:31 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index d40da11a7714abc81d62fd802b5186673f1b53d6..137e676b778739fa664b22ad7e25af3728b855ab 100644 (file)
@@ -269,6 +269,9 @@ OPTION(fuse_default_permissions, OPT_BOOL, true)
 OPTION(fuse_big_writes, OPT_BOOL, true)
 OPTION(fuse_atomic_o_trunc, OPT_BOOL, true)
 OPTION(fuse_debug, OPT_BOOL, false)
+
+OPTION(crush_location, OPT_STR, "")       // whitespace-separated list of key=value pairs describing crush location
+
 OPTION(objecter_tick_interval, OPT_DOUBLE, 5.0)
 OPTION(objecter_timeout, OPT_DOUBLE, 10.0)    // before we ask for a map
 OPTION(objecter_inflight_op_bytes, OPT_U64, 1024*1024*100) // max in-flight data (both directions)