]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Add config option to disable new scrubs during recovery 11874/head
authorWido den Hollander <wido@42on.com>
Wed, 9 Nov 2016 14:24:02 +0000 (15:24 +0100)
committerWido den Hollander <wido@42on.com>
Fri, 11 Nov 2016 10:53:50 +0000 (11:53 +0100)
commit33f1f6077804dbcbb82a41ef7f6803b5f3365831
tree1028cb8bf5859ee1a3402f6bc5efa6ca5b3862c6
parent3b16316d4e4b4d32a11a84e0aaaf45d577e10fc2
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>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h