]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: make scrub no deadline when max interval is zero 18354/head
authorkungf <yang.wang@easystack.cn>
Tue, 17 Oct 2017 12:32:14 +0000 (20:32 +0800)
committerkungf <yang.wang@easystack.cn>
Thu, 19 Oct 2017 12:15:39 +0000 (20:15 +0800)
commit1ea6fab5edc74bef7a2ef8944131194d196933cd
tree183bf175dab820b1d921dda9e606253eb6ce3ecb
parentac643bcf86983ac82c02c2d07e0f4a013026eb5f
osd: make scrub no deadline when max interval is zero

some times, we only want scrub at out permitted time, avoid
scrub mainly deep scrub affecting business io. this patch
make no scrub deadline when osd_scrub_max_interval == 0, then
we can make sure scrub can only do in expect time.

Signed-off-by: kungf <yang.wang@easystack.cn>
src/osd/OSD.cc