]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: drop ms_async_max_op_threads 55443/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Feb 2021 03:26:47 +0000 (11:26 +0800)
committeryite.gu <yitegu0@gmail.com>
Wed, 7 Feb 2024 09:54:18 +0000 (17:54 +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>
(cherry picked from commit ee7184639dcd7b8fc0ed5a189bc764151e601437)

doc/rados/configuration/ms-ref.rst
src/common/legacy_config_opts.h
src/common/options.cc

index 113bd09137bf8c02c3fb5ccf41dbfc334d1d3aff..6ccdebaf1c47592e311e7cc44e5938c8c553c26f 100644 (file)
@@ -109,17 +109,6 @@ Async messenger options
 :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``
-
-
 ``ms_async_send_inline``
 
 :Description: Send messages directly from the thread that generated them instead of
@@ -129,5 +118,3 @@ Async messenger options
 :Type: Boolean
 :Required: No
 :Default: ``false``
-
-
index 99d0aad95b214bf3c30663fd6c10507314dcef7f..0e3b4c8ef953aa344c5340e28e0d72a83b65af41 100644 (file)
@@ -144,7 +144,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 d3f0166ffb1894704b37f8b7e8727deefc66e675..2c4f7bef4aa56dc2a427448b71c28a1655d136b1 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_reap_threshold", Option::TYPE_UINT, Option::LEVEL_DEV)
     .set_default(5)
     .set_min(1)