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 <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-02-26 11:26:47 +08:00
parent 789c1bd62a
commit ee7184639d
3 changed files with 0 additions and 17 deletions

View 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``

View 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)

View 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(""),