]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Move scrub sleep timer to osdservice 15526/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 22 May 2017 03:21:25 +0000 (13:21 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Wed, 26 Jul 2017 04:25:15 +0000 (14:25 +1000)
commit719ed0101b1bfdd4b71ef84101515492597153f9
tree7dc04ba47505b11c03e971186505ecf84f1f2ced
parent460a820a3b2fbd48c8a7966502b235aae8d5d298
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>
(cherry picked from commit f110a82437df79dc20207d296e8229fc0e9ce18b)
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h