From: xie xingguo Date: Wed, 25 Jul 2018 08:29:18 +0000 (+0800) Subject: osd/PG: kill dead functions and related options X-Git-Tag: v14.0.1~721^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d9927d3c9c16639ee1b1c8d590134b2d877f33f0;p=ceph.git osd/PG: kill dead functions and related options Signed-off-by: xie xingguo --- 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