]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: drop ms_async_max_op_threads 39654/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Feb 2021 03:26:47 +0000 (11:26 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Feb 2021 03:28:07 +0000 (11:28 +0800)
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 <kchai@redhat.com>
doc/rados/configuration/ms-ref.rst
src/common/legacy_config_opts.h
src/common/options.cc

index 908804581f4cb1d9bd06a37ca5802e326277725a..dfb5d559faf1c5dd6c648c4ef5bd79ac301415a3 100644 (file)
@@ -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``
index 5a0aa9545e27010085b7801de82f8eff9d1b8e4a..67354724724ddf6ad2d59a2dc02153c47ca2ef8a 100644 (file)
@@ -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)
index 856fd2719ffb369ed73b73d128092bb056200116..3b02ee5ec40d3aba014f7a661e763c79c8c7b953 100644 (file)
@@ -1149,11 +1149,6 @@ std::vector<Option> get_global_options() {
     .set_min_max(1, 24)
     .set_description("Threadpool size for AsyncMessenger (ms_type=async)"),
 
-    Option("ms_async_max_op_threads", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(5)
-    .set_description("Maximum threadpool size of AsyncMessenger")
-    .add_see_also("ms_async_op_threads"),
-
     Option("ms_async_rdma_device_name", Option::TYPE_STR, Option::LEVEL_ADVANCED)
     .set_default("")
     .set_description(""),