]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedBackend: reset thread heartbeat after every omap entry in deep-scrub 15823/head
authorJosh Durgin <jdurgin@redhat.com>
Wed, 21 Jun 2017 22:05:49 +0000 (15:05 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 21 Jun 2017 22:05:49 +0000 (15:05 -0700)
commit15ce60830aed7c4c2a0b10d2cb69d8daef418d20
tree05fec49062474836d4916f3c61189e5dc6ec871b
parentb8a9ee8eb3dbff469a87926b5224b0f95b632b3f
osd/ReplicatedBackend: reset thread heartbeat after every omap entry in deep-scrub

Doing this every 100 entries could be after 100MB of reads. There's
little cost to reset this, so remove the option for configuring it.

This reduces the likelihood of crashing the osd due to too many omap
values on an object.

Fixes: http://tracker.ceph.com/issues/20375
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/common/config_opts.h
src/osd/ReplicatedBackend.cc