]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: add --mon-advanced-debug-mode
authorLoic Dachary <loic@dachary.org>
Wed, 12 Feb 2014 17:49:50 +0000 (18:49 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 13 Feb 2014 08:50:46 +0000 (09:50 +0100)
When this flag is true, the mon is expected to provide functionalities
that are for developer oriented debug purposes only. It is meant to
be used by the developer and not the system administrator, because it
would allow a non-developer to break things in ways that would be very
difficult to diagnose. It should probably not be documented.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/common/config_opts.h

index b53aa7cd08e57f02ae90cf68fdbb83e4eef86ba9..7b99c0c3ae14365c0c393d8a18b769f3c3e0ac13 100644 (file)
@@ -199,6 +199,7 @@ OPTION(mon_osd_min_down_reports, OPT_INT, 3)     // number of times a down OSD m
 OPTION(mon_osd_force_trim_to, OPT_INT, 0)   // force mon to trim maps to this point, regardless of min_last_epoch_clean (dangerous, use with care)
 OPTION(mon_mds_force_trim_to, OPT_INT, 0)   // force mon to trim mdsmaps to this point (dangerous, use with care)
 
+OPTION(mon_advanced_debug_mode, OPT_BOOL, false) // true for developper oriented testing
 // dump transactions
 OPTION(mon_debug_dump_transactions, OPT_BOOL, false)
 OPTION(mon_debug_dump_location, OPT_STR, "/var/log/ceph/$cluster-$name.tdump")