]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Move scrub sleep timer to osdservice
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 22 May 2017 03:21:25 +0000 (13:21 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 30 May 2017 23:29:49 +0000 (09:29 +1000)
commitf110a82437df79dc20207d296e8229fc0e9ce18b
treed2bf01b81f2f19193336657702cc237a6af1e7ee
parente3319da51d21dd2f038a906e38d8d662b0d22a14
osd: Move scrub sleep timer to osdservice

PR 14886 erroneously creates a scrub sleep timer for every pg resulting
in a proliferation of threads. Move the timer to the osd service so
there can be only one.

Fixes: http://tracker.ceph.com/issues/19986
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h