]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add mds_data config
authorSage Weil <sage@inktank.com>
Fri, 1 Jun 2012 17:58:23 +0000 (10:58 -0700)
committerSage Weil <sage@inktank.com>
Tue, 12 Jun 2012 18:50:54 +0000 (11:50 -0700)
This is where the keyring will live.  Eventually more may move in too.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index 44d35c1082893228c71b8caaff2a8ff328ae7a5b..1da6d28e460edcb64d50439c6629b4829f7da47f 100644 (file)
@@ -174,6 +174,7 @@ OPTION(journaler_prefetch_periods, OPT_INT, 10)   // * journal object size
 OPTION(journaler_prezero_periods, OPT_INT, 5)     // * journal object size
 OPTION(journaler_batch_interval, OPT_DOUBLE, .001)   // seconds.. max add'l latency we artificially incur
 OPTION(journaler_batch_max, OPT_U64, 0)  // max bytes we'll delay flushing; disable, for now....
+OPTION(mds_data, OPT_STR, "/var/lib/ceph/mds/$cluster-$id")
 OPTION(mds_max_file_size, OPT_U64, 1ULL << 40)
 OPTION(mds_cache_size, OPT_INT, 100000)
 OPTION(mds_cache_mid, OPT_FLOAT, .7)