From: David Zafman Date: Tue, 9 Oct 2018 16:11:29 +0000 (-0700) Subject: osd: Separate removal and recovery thread pools X-Git-Tag: v12.2.11~138^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=860de9b4b280d63d66e94d36df92c238026887c5;p=ceph.git osd: Separate removal and recovery thread pools The name "disk_tp" was misleading because it was only used for removal and recovery. Signed-off-by: David Zafman This backport is not cherry-picked from master since the remove threadpool was folded into the main op queue post-luminous, so the code is almost entirely different. --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a51870ef6428..8232fdc3d788 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -665,7 +665,8 @@ OPTION(osd_peering_wq_threads, OPT_INT) OPTION(osd_peering_wq_batch_size, OPT_U64) OPTION(osd_op_pq_max_tokens_per_priority, OPT_U64) OPTION(osd_op_pq_min_cost, OPT_U64) -OPTION(osd_disk_threads, OPT_INT) +OPTION(osd_remove_threads, OPT_INT) +OPTION(osd_recovery_threads, OPT_INT) OPTION(osd_disk_thread_ioprio_class, OPT_STR) // rt realtime be best effort idle OPTION(osd_disk_thread_ioprio_priority, OPT_INT) // 0-7 OPTION(osd_recover_clone_overlap, OPT_BOOL) // preserve clone_overlap during recovery/migration diff --git a/src/common/options.cc b/src/common/options.cc index ff3bb1a1be19..970a12f3fe61 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1950,7 +1950,11 @@ std::vector