From: Sage Weil Date: Thu, 28 Dec 2017 19:15:17 +0000 (-0600) Subject: osd: piecewise scrub X-Git-Tag: v13.0.2~494^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bf16f59887d6b7624112212cecead3ebec48b6f9;p=ceph.git osd: piecewise scrub Perform scrub in stages, with each unit of work requeuing an item in the work queue. Signed-off-by: Sage Weil --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index c859ffe522174..6fede5da27473 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -743,6 +743,7 @@ OPTION(osd_scrub_auto_repair_num_errors, OPT_U32) // only auto-repair when num OPTION(osd_deep_scrub_interval, OPT_FLOAT) // once a week OPTION(osd_deep_scrub_randomize_ratio, OPT_FLOAT) // scrubs will randomly become deep scrubs at this rate (0.15 -> 15% of scrubs are deep) OPTION(osd_deep_scrub_stride, OPT_INT) +OPTION(osd_deep_scrub_keys, OPT_INT) OPTION(osd_deep_scrub_update_digest_min_age, OPT_INT) // objects must be this old (seconds) before we update the whole-object digest on scrub OPTION(osd_skip_data_digest, OPT_BOOL) OPTION(osd_class_dir, OPT_STR) // where rados plugins are stored diff --git a/src/common/options.cc b/src/common/options.cc index c700871fd776a..7f9222d35e707 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2693,6 +2693,10 @@ std::vector