]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: default osd_scrub_during_recovery=false 17082/head
authorSage Weil <sage@redhat.com>
Fri, 9 Dec 2016 01:25:06 +0000 (19:25 -0600)
committerVikhyat Umrao <vumrao@redhat.com>
Tue, 26 Sep 2017 18:02:14 +0000 (14:02 -0400)
This is a more friendly behavior.  Tell users in the release notes how to
get the old behavior.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8dca17c067b51050308c5f1cb5eddd400fd6f3f0)

 Conflicts:
PendingReleaseNotes "trivial resolution"

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
PendingReleaseNotes
src/common/config_opts.h

index 322d8b5e6395f6dc00e4524012b08f7f790fd6c5..9a3e84c900d7b97a3f84c52e22924fcb4f2bc87a 100644 (file)
@@ -1,3 +1,9 @@
 * The 'mon_warn_osd_usage_min_max_delta' health warning has been disabled because
   it does not address clusters undergoing recovery or CRUSH rules that do
   not target all devices in the cluster.
+
+* The OSDs now avoid starting new scrubs while recovery is in progress.  To
+  revert to the old behavior (and do not let recovery activity affect the
+  scrub scheduling) you can set the following option::
+
+    osd scrub during recovery = true
index 3b06878900af9fa1f93727059ae1967ca64755ee..062675d08ffc7242d5ed822209e5ae973d1e4e4f 100644 (file)
@@ -767,7 +767,7 @@ OPTION(osd_max_push_cost, OPT_U64, 8<<20)  // max size of push message
 OPTION(osd_max_push_objects, OPT_U64, 10)  // max objects in single push op
 OPTION(osd_recovery_forget_lost_objects, OPT_BOOL, false)   // off for now
 OPTION(osd_max_scrubs, OPT_INT, 1)
-OPTION(osd_scrub_during_recovery, OPT_BOOL, true) // Allow new scrubs to start while recovery is active on the OSD
+OPTION(osd_scrub_during_recovery, OPT_BOOL, false) // Allow new scrubs to start while recovery is active on the OSD
 OPTION(osd_scrub_begin_hour, OPT_INT, 0)
 OPTION(osd_scrub_end_hour, OPT_INT, 24)
 OPTION(osd_scrub_load_threshold, OPT_FLOAT, 0.5)