From d9927d3c9c16639ee1b1c8d590134b2d877f33f0 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 25 Jul 2018 16:29:18 +0800 Subject: [PATCH] osd/PG: kill dead functions and related options Signed-off-by: xie xingguo --- src/common/legacy_config_opts.h | 1 - src/common/options.cc | 4 ---- src/osd/PG.h | 5 ----- 3 files changed, 10 deletions(-) diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 023afeb9219d..7a50dee237fc 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -718,7 +718,6 @@ OPTION(osd_copyfrom_max_chunk, OPT_U64) // max size of a COPYFROM chunk OPTION(osd_push_per_object_cost, OPT_U64) // push cost per object OPTION(osd_max_push_cost, OPT_U64) // max size of push message OPTION(osd_max_push_objects, OPT_U64) // max objects in single push op -OPTION(osd_recovery_forget_lost_objects, OPT_BOOL) // off for now OPTION(osd_max_scrubs, OPT_INT) OPTION(osd_scrub_during_recovery, OPT_BOOL) // Allow new scrubs to start while recovery is active on the OSD OPTION(osd_scrub_begin_hour, OPT_INT) diff --git a/src/common/options.cc b/src/common/options.cc index 50f5cf66a2d5..e16e597a99e6 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3033,10 +3033,6 @@ std::vector