From: Li Wang Date: Fri, 11 May 2018 06:03:12 +0000 (+0000) Subject: config: distinguish ops with bytes for throttling X-Git-Tag: v14.0.0~107^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6363745af7aa079a03056018c6e0e9d2491cd4ef;p=ceph.git config: distinguish ops with bytes for throttling Reported-by: Xin Yuan Signed-off-by: Li Wang --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 69fbc51c193..5de9fbb7513 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1182,6 +1182,16 @@ OPTION(filestore_queue_max_delay_multiple, OPT_DOUBLE) /// Filestore high delay multiple. Defaults to 0 (disabled) OPTION(filestore_queue_high_delay_multiple, OPT_DOUBLE) +/// Filestore max delay multiple bytes. Defaults to 0 (disabled) +OPTION(filestore_queue_max_delay_multiple_bytes, OPT_DOUBLE) +/// Filestore high delay multiple bytes. Defaults to 0 (disabled) +OPTION(filestore_queue_high_delay_multiple_bytes, OPT_DOUBLE) + +/// Filestore max delay multiple ops. Defaults to 0 (disabled) +OPTION(filestore_queue_max_delay_multiple_ops, OPT_DOUBLE) +/// Filestore high delay multiple ops. Defaults to 0 (disabled) +OPTION(filestore_queue_high_delay_multiple_ops, OPT_DOUBLE) + /// Use above to inject delays intended to keep the op queue between low and high OPTION(filestore_queue_low_threshhold, OPT_DOUBLE) OPTION(filestore_queue_high_threshhold, OPT_DOUBLE) diff --git a/src/common/options.cc b/src/common/options.cc index e5b3d2de839..3038f9cf374 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4533,6 +4533,22 @@ std::vector