From: Patrick Donnelly Date: Mon, 16 Dec 2019 21:00:15 +0000 (-0800) Subject: osd: fix type of osd_recover_clone_overlap_limit X-Git-Tag: v15.1.0~380^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe2a35979fb688e6def4b179c996fdac37c8dbbb;p=ceph.git osd: fix type of osd_recover_clone_overlap_limit To avoid signed/unsigned comparison warnings. Signed-off-by: Patrick Donnelly --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 83c78a208f8e..875f64dc92a0 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -630,9 +630,6 @@ OPTION(osd_ignore_stale_divergent_priors, OPT_BOOL) // do not assert on divergen // decode the object, any error will be reported. OPTION(osd_read_ec_check_for_errors, OPT_BOOL) // return error if any ec shard has an error -// Only use clone_overlap for recovery if there are fewer than -// osd_recover_clone_overlap_limit entries in the overlap set -OPTION(osd_recover_clone_overlap_limit, OPT_INT) OPTION(osd_debug_feed_pullee, OPT_INT) OPTION(osd_backfill_scan_min, OPT_INT) diff --git a/src/common/options.cc b/src/common/options.cc index c9f8df6dc97b..57f3be63e8b0 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2922,9 +2922,12 @@ std::vector