From: Kefu Chai Date: Fri, 26 Feb 2021 03:26:47 +0000 (+0800) Subject: common/options: drop ms_async_max_op_threads X-Git-Tag: v17.1.0~2770^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ee7184639dcd7b8fc0ed5a189bc764151e601437;p=ceph.git common/options: drop ms_async_max_op_threads the last user of this option was DPDKStack::DPDKStack(). which used it to initialize its func vector. but this option is not used anymore. so let's drop it. Signed-off-by: Kefu Chai --- diff --git a/doc/rados/configuration/ms-ref.rst b/doc/rados/configuration/ms-ref.rst index 908804581f4c..dfb5d559faf1 100644 --- a/doc/rados/configuration/ms-ref.rst +++ b/doc/rados/configuration/ms-ref.rst @@ -83,14 +83,3 @@ Async messenger options :Type: 64-bit Unsigned Integer :Required: No :Default: ``3`` - - -``ms_async_max_op_threads`` - -:Description: Maximum number of worker threads used by each Async Messenger instance. - Set to lower values when your machine has limited CPU count, and increase - when your CPUs are underutilized (i. e. one or more of CPUs are - constantly on 100% load during I/O operations). -:Type: 64-bit Unsigned Integer -:Required: No -:Default: ``5`` diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 5a0aa9545e27..67354724724d 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -142,7 +142,6 @@ OPTION(ms_blackhole_client, OPT_BOOL) OPTION(ms_dump_on_send, OPT_BOOL) // hexdump msg to log on send OPTION(ms_dump_corrupt_message_level, OPT_INT) // debug level to hexdump undecodeable messages at OPTION(ms_async_op_threads, OPT_U64) // number of worker processing threads for async messenger created on init -OPTION(ms_async_max_op_threads, OPT_U64) // max number of worker processing threads for async messenger OPTION(ms_async_rdma_device_name, OPT_STR) OPTION(ms_async_rdma_enable_hugepage, OPT_BOOL) OPTION(ms_async_rdma_buffer_size, OPT_INT) diff --git a/src/common/options.cc b/src/common/options.cc index 856fd2719ffb..3b02ee5ec40d 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1149,11 +1149,6 @@ std::vector