From: Sage Weil Date: Fri, 15 Mar 2019 11:27:17 +0000 (-0500) Subject: ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big X-Git-Tag: v14.2.0~16^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4f418003861d0103ecfba225fd8f5057d8def423;p=ceph-ci.git ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big Signed-off-by: Sage Weil --- diff --git a/qa/tasks/ceph.conf.template b/qa/tasks/ceph.conf.template index 4fbd813f160..2566000ad17 100644 --- a/qa/tasks/ceph.conf.template +++ b/qa/tasks/ceph.conf.template @@ -11,6 +11,7 @@ auth debug = true ms die on old message = true + ms die on bug = true mon pg warn min per osd = 1 mon pg warn max per osd = 10000 # <= luminous diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 21670886877..fd1df222838 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -125,6 +125,7 @@ OPTION(ms_die_on_bad_msg, OPT_BOOL) OPTION(ms_die_on_unhandled_msg, OPT_BOOL) OPTION(ms_die_on_old_message, OPT_BOOL) // assert if we get a dup incoming message and shouldn't have (may be triggered by pre-541cd3c64be0dfa04e8a2df39422e0eb9541a428 code) OPTION(ms_die_on_skipped_message, OPT_BOOL) // assert if we skip a seq (kernel client does this intentionally) +OPTION(ms_die_on_bug, OPT_BOOL) OPTION(ms_dispatch_throttle_bytes, OPT_U64) OPTION(ms_bind_ipv6, OPT_BOOL) OPTION(ms_bind_port_min, OPT_INT) diff --git a/src/common/options.cc b/src/common/options.cc index 8e2f94bfca4..6efea438257 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -930,6 +930,10 @@ std::vector