]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: add kill arguments for mds import/export
authorGreg Farnum <gregf@hq.newdream.net>
Thu, 3 Dec 2009 01:25:03 +0000 (17:25 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 3 Dec 2009 21:43:42 +0000 (13:43 -0800)
src/config.cc
src/config.h

index 08898beb758b64c4d7e8c68ef0c8827060d182f7..6bca011f74d1a3566c5b844493086a59a6d37de0 100644 (file)
@@ -474,6 +474,8 @@ static struct config_option config_optionsp[] = {
        OPTION(mds_dump_cache_after_rejoin, 0, OPT_BOOL, true),
        OPTION(mds_hack_log_expire_for_better_stats, 0, OPT_BOOL, false),
        OPTION(mds_kill_mdstable_at, 0, OPT_INT, 0),
+       OPTION(mds_kill_export_at, 0, OPT_INT, 0),
+       OPTION(mds_kill_import_at, 0, OPT_INT, 0),
        OPTION(osd_data, 0, OPT_STR, ""),
        OPTION(osd_journal, 0, OPT_STR, ""),
        OPTION(osd_journal_size, 0, OPT_INT, 0),         // in mb
index 800964ab9f96ffcec27ebd34ad2ef265c7203850..ad21e6ae8932e41a1694da3731a6e2e0663953c5 100644 (file)
@@ -273,7 +273,10 @@ struct md_config_t {
 
   bool mds_hack_log_expire_for_better_stats;
 
-  int mds_kill_mdstable_at;   // non-zero to specify kill point
+  // set these to non-zero to specify kill points
+  int mds_kill_mdstable_at;
+  int mds_kill_export_at;
+  int mds_kill_import_at;
 
   // osd
   const char *osd_data;