]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Add config option to disable new scrubs during recovery 11944/head
authorWido den Hollander <wido@42on.com>
Wed, 9 Nov 2016 14:24:02 +0000 (15:24 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 14 Nov 2016 17:47:46 +0000 (18:47 +0100)
commitdb4071a8e59f8cf764b02fbc8ac4967888763dab
tree944b097726551299f5ea51cb6279f69610d8b79b
parent427f357f0eed32c9ce17590ae9303a94e8b710e7
osd: Add config option to disable new scrubs during recovery

The osd_scrub_during_recovery config option allows for configuring
if the OSD will schedule a new scrub while recovery is active.

When set to false no new scrubs will be initiated by the OSD while
there are recovery threads active on that OSD.

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 33f1f6077804dbcbb82a41ef7f6803b5f3365831)

Conflicts:
src/osd/OSD.h (between jewel and kraken, pg recovery methods were moved
        from the OSD class to OSDService)
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h